A prisoner must cross three locked gates inorder to escape the jail.With him there is a man having 9 keys,these keys have numbers,1 to 9.Only three keys are the right ones(if a wrong key is used to any gate,it will stuck).
The man with keys always tells the truth,and he knows which key fit to each gate.
What is the best strategy to escape through all three gates,if he is allowed to ask only(yes or no)questions.
Question
wolfgang
A prisoner must cross three locked gates inorder to escape the jail.With him there is a man having 9 keys,these keys have numbers,1 to 9.Only three keys are the right ones(if a wrong key is used to any gate,it will stuck).
The man with keys always tells the truth,and he knows which key fit to each gate.
What is the best strategy to escape through all three gates,if he is allowed to ask only(yes or no)questions.
The minimum question number is better.
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.