Pentagon walk, reaching a non-neighboring corner
Five corners A, B, C, D, E form a ring (edges A-B, B-C, C-D, D-E, E-A). A walker starts at A and each step moves to an adjacent corner, either direction with equal chance. The target is C, which is two steps away from A.
On average, how many steps until the walker first reaches C?
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 vertexOne-way wall, expected steps home from the far endRandom walk across a cube
All questions β