---
title: "Discussion on \"Fork in the road problem\" | Hashnode"
description: "Discussion on \"Fork in the road problem\". Problem Statement\nTwo guards, one question (one truth, one lie)\nYou are travelling to somewhere now the road splits into two and you don' t know the correct way. There are two guards on the road, one always speak truth and the other speak lies, you m..."
url: "https://hashnode.com/posts/fork-in-the-road-problem/691b73e7f48697d3f185b870"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fork in the road problem](https://forkintheroad.hashnode.dev/fork-in-the-road-problem?utm_source=hashnode&utm_medium=feed)

Problem Statement Two guards, one question (one truth, one lie) You are travelling to somewhere now the road splits into two and you don' t know the correct way. There are two guards on the road, one always speak truth and the other speak lies, you m...

Nov 17, 2025 · 3 min read · forkintheroad.hashnode.dev  
Read the article

-   [#logical-operator](https://hashnode.com/tag/logical-operator)
-   [#puzzle](https://hashnode.com/tag/puzzle)
-   [#truth-table](https://hashnode.com/tag/truth-table)
-   [#problem-solving](https://hashnode.com/tag/problem-solving)

## Written by

[Divy Pathak](https://hashnode.com/@divy03)

@divy03 · India

  
[View profile](https://hashnode.com/@divy03)

Developer, building useful things for web

I like to automate things and enjoying tinkering my system.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
