Priors

Markov chains and random walks · A wandering elevator · difficulty 3 of 5

Back to the ground floor

An elevator serves floors 0 to 5. Each minute it moves one floor up or down at random; at floor 0 it must go up and at floor 5 it must go down. It leaves the ground floor now. How many minutes on average until it is back at floor 0?

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