Priors

Markov chains and random walks · A walk along a corridor · difficulty 3 of 5

Walking away from a wall

You stand with your back to a wall at the end of a corridor. Each second you take a step: from the wall you can only step away from it; anywhere else you step towards or away from the wall with equal chance. The door is 10 steps from the wall. What is the expected number of steps to reach the door?

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