A near-broke gambler against a huge target
A gambler has just $1 and plays a fair $1 coin-flip game, aiming for $100 before going broke at $0. Each round he gains or loses $1 with equal probability, stopping at $0 or $100.
On average, how many rounds does he play before stopping?
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
Does a drifting walk ever come home?Guaranteed to arrive, yet the average wait is infiniteThe drunk one step from the cliffThe drunkard who wants to climb one step uphillRuin against an infinitely rich casino
All questions →