Markov chains and random walks · A mouse in a grid maze · difficulty 4 of 5
The mouse and the cheese
A maze is a 3 × 3 grid of rooms, with doors between rooms that share a wall. A mouse starts in one corner room and the cheese is in the opposite corner. Each minute the mouse goes through one of the doors of its room, chosen at random. What is the expected number of minutes until it reaches the cheese?
Answer with an expected value. First lock in a gut guess with an 80% range, then solve it properly, then watch a simulation settle on the truth.
More markov chain and random walk puzzles
- Waiting for the ball · A game of catch
- Climbing with an edge · A winning streak
- From one spoke to another · A hub with spokes
- Playing until you're broke · A casino
- Rainy days in the long run · Weather
- The spider heads home · A spider's web
All markov chain and random walk puzzles · All puzzles · Market making game