Qm

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

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. 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 β†’