You are a policeman in search of a thief hiding in a hotel with 5 rooms-1,2,3,4,5...
The thief changes rooms every night and the policemen can search only one room every morning...
the thief starts from room no. X and follows this rule- the next night he will either go into room no. X+2 or room no. X*2...if the no. exceeds 5 say such a no. is Y then he will go into the room Y-5...
this rule is known to the policemen...what search srategy shud they employ to catch the thief in min. number of days....
i know the ans to the puzzle and i had even vaguely figured out how... but i don't know the exact reason... i think i'll get some help here...
Question
Guest
You are a policeman in search of a thief hiding in a hotel with 5 rooms-1,2,3,4,5...
The thief changes rooms every night and the policemen can search only one room every morning...
the thief starts from room no. X and follows this rule- the next night he will either go into room no. X+2 or room no. X*2...if the no. exceeds 5 say such a no. is Y then he will go into the room Y-5...
this rule is known to the policemen...what search srategy shud they employ to catch the thief in min. number of days....
i know the ans to the puzzle and i had even vaguely figured out how... but i don't know the exact reason... i think i'll get some help here...
have fun...
Link to comment
Share on other sites
9 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.