You are a prisoner in a room with 2 doors and 2 guards. One of the doors will guide you to freedom and behind the other is a hangman –you don’t know which is which.
One of the guards always tells the truth and the other always lies( The Honest and Dishonest Guards). You don’t know which one is the truth-teller or the liar either.
You have to choose and open one of these doors, but you can only ask a single question to one of the guards.
What do you ask so you can pick the door to freedom?
If I asked what door lead to freedom, what door would the other guard point to?