![]() If you ask the guard which speaks truth about which path leads to heaven, as he speaks always the truth, he Let us assume that the left door leads to heaven. Here is the explanation if it is yet not clear. This idea was famously used in the 1986 film Labyrinth. So you can chose the other path to continue your journey to heaven. ![]() ![]() It should be fairly easy to see that irrespective of whom do you ask this question, you will always get an answer which leads to hell. The question you should ask is “If I ask the other guard about which side leads to heaven, what would he answer?”. This is one of the classic puzzles asked in Infosys interview. You can only ask one question to one of them in order to find the way to heaven. 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. One of the path leads to heaven and the other one leads to hell. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |