Heaven or Hell Puzzle

Solve the Heaven or Hell Puzzle

You are standing before two doors. One path leads to heaven and the other one leads to hell. There are two guardians, one by each door. You know one of them always tells the truth and the other always lies, but you don’t know who is the honest one and who is the liar.

You can only ask one question to one of them to find the way to heaven. What is the question?

Heaven or Hell Puzzle

Solution

The question you should ask is “If I ask the other guard about which side leads to heaven, what would he answer?”. It should be fairly easy to see that irrespective of whom you ask this question, you will always get an answer which leads to hell. So you can choose the other path to continue your journey to heaven.

Detailed Explanation:

Let us assume that the left door leads to heaven. Go through the diagram first

You are standing before two doors. One of the path leads to heaven and the other one leads to hell.

If you ask the guard who speaks the truth about which path leads to heaven, as he speaks always the truth, he would say “left”. Now that the liar, when he is asked what “the other guard (truth-teller) ” would answer, he would say “right”.

Similarly, if you ask the liar about which path leads to heaven, he would say “right”. As the truth-teller speaks nothing but the truth, he would say “right” when he is asked what “the other guard( liar ) ” would answer. So in any case, you would end up having the path to hell as an answer. So you can choose the other path as a way to heaven.

Prime Course Trailer

Related Banners

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others

Checkout list of all the video courses in PrepInsta Prime Subscription

Checkout list of all the video courses in PrepInsta Prime Subscription