Heaven and Hell
There are two gates, one to hell and the other to heaven. There are two gatekeepers, one for each gate. One of them always speaks the truth and the other always lies but you don’t know which one guards which gate. You are allowed only one question and you need to find out the gate to heaven. What is the question?
Solution: Ask any gatekeeper “What would the other gatekeeper say if I ask which is the way to hell?” And whatever answer he gives is the way to heaven. If you end up asking the question to the truthful one, he will speak the truth and he knows that other gatekeeper is going to lie so he will show the way to heaven. If you end up asking the question to the liar, he will lie about the other and the answer will be the way to heaven.
Answer: Ask any gatekeeper “What would the other gatekeeper say if I ask which is the way to hell?” And whatever answer he gives is the way to heaven.