411 REFERENCE · Wikibooks
Puzzles/Logic puzzles/Getting out of Prison
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Puzzles | Logic puzzles | Getting out of Prison
You are in a prison and your execution is planned for today. However,
you are given one last chance to get out of this situation. You are
brought into a room that has two exits and in front of each of them stands
a guard. One exit leads out of the prison into freedom, while the other
one brings you into the room where the execution takes place. Furthermore,
one of the guards is always lying, while the other one is always telling
the truth (but, of course, you don't know who of the guards is in front
of which door). You are allowed to ask only one question.
What question can you ask in order to find out the way to your freedom?
Solution