Mean turns for a pawn to fall off a lane
A pawn sits on square 4 of a lane numbered 0 to 8. Each turn it slides one square, up or down with equal probability , and it drops off the lane when it reaches square 0 or square 8.
What is the expected number of turns until the pawn drops off?
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
Expected steps for a fair walk to hit a wallAverage moves for a beetle to leave a stripExpected moves before a lift reaches an end floorExpected rounds for a fair chase to endExpected packs to collect all three stickers
All questions β