One-way wall, expected steps home from the far end
A checker sits on square 3 of a short board with squares 0, 1, 2, 3. Square 0 is the goal: the checker stops there. From squares 1 or 2 it steps left or right at random. Square 3 is a wall: from square 3 the only move is to square 2.
On average, how many steps until the checker reaches square 0 from square 3?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion Β· reading is open to everyone
π‘ Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussionβ¦
Learn the concepts
The theory behind this question.
Related questions
Bug on a square, steps to the opposite cornerPassing a token around a triangleAnt on a tetrahedron, reaching the far vertexPentagon walk, reaching a non-neighboring cornerRandom walk across a cube
All questions β