Myvideo

Guest

Login

How To Solve The Hiding Cat Puzzle - Microsoft Interview Riddle

Uploaded By: Myvideo
2 views
0
0 votes
0

Tech companies like Google have asked this question during interviews. A cat is hiding in one of five boxes that are lined up in a row. The boxes are numbered 1 to 5. Each night the cat hides in an adjacent box, exactly one number away. Each morning you can open a single box to try to find the cat. Can you win this game of hide and seek? What is your strategy to find the cat? What if there are n boxes? Watch the video for the solution. My blog post for this video (extensive links for sources of this puzzle): Alexander recreated the puzzle in Python If you like my videos, you can support me at Patreon: Connect on social media. I update each site when I have a new video or blog post, so you can follow me on whichever method is most convenient for you. My Blog: Twitter: Facebook:

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later