You are trapped in a room with two doors. One is to death and other lds to freedom. You don't know whic 1. There are two robots guarding the doors. They will let you choose one door but upon doing so you must go through it.You can, however, ask one robot one question. The problem is one robot always tells the truth ,the other always lies and you don't know which is which.What is the question you ask?

http://www.mindchallenger.com/p2answer.html

(Admission: I cheated and looked it up with Google.)

The question you can ask to one of the robots is: "If I were to ask the other robot which door leads to freedom, what would they say?"

Explanation:

1. Assume that Robot A is the truth-teller and Robot B always lies.

2. Let's consider two scenarios:
a) If you ask the truth-teller (Robot A), it will honestly tell you what the liar (Robot B) would say. Thus, Robot A would indicate the door to death, as Robot B would lie about the door to freedom.
b) If you ask the liar (Robot B), it will lie about what the truth-teller (Robot A) would say. So, Robot B would also indicate the door to death, as it would falsely claim that Robot A would tell you the wrong door.

3. In both scenarios, they would point to the same door, indicating that it leads to death. Thus, you should choose the other door to find the path to freedom.