Expected steps for a fair walk to hit a wall
A token sits at position 3 on a line marked 0 to 10. Each step it moves +1 with probability or -1 with probability . It stops the moment it reaches position 0 or position 10.
What is the expected number of steps until the token stops?
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
Average moves for a beetle to leave a stripExpected moves before a lift reaches an end floorMean turns for a pawn to fall off a laneExpected rounds for a fair chase to endExpected packs to collect all three stickers
All questions →