Priors

Markov chains and random walks · A long hallway · difficulty 4 of 5

Visiting both ends of the hall

A robot sits at spot 4 of a hallway with spots 0 to 10. Each second it moves one spot left or right at random (at an end it must step back inward). How many seconds on average until it has visited both ends?

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.

Play it

More markov chain and random walk puzzles

All markov chain and random walk puzzles · All puzzles · Market making game