There are five holes in the ground that a certain groundhog likes to hang out in. These holes are in a row. You are allowed to look in one of the holes at noon each day. Every night, while you aren't around, the groundhog will leave the hole he is in, and move to an adjacent hole. For example, if he's in hole #2, he can move to hole #1 or #3. If he's in hole #1, he can only move to hole #2. What search strategy can you use, to ensure that you will eventually find the groundhog? Using the most efficient strategy, what is the maximum number of days it could take you to find him?
Question
Guest
There are five holes in the ground that a certain groundhog likes to hang out in. These holes are in a row. You are allowed to look in one of the holes at noon each day. Every night, while you aren't around, the groundhog will leave the hole he is in, and move to an adjacent hole. For example, if he's in hole #2, he can move to hole #1 or #3. If he's in hole #1, he can only move to hole #2. What search strategy can you use, to ensure that you will eventually find the groundhog? Using the most efficient strategy, what is the maximum number of days it could take you to find him?
Link to comment
Share on other sites
43 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.