A frog on stones 0 to 20 aiming for the far bank
A frog sits on stone 9 in a line of stepping stones numbered 0 to 20. Each hop it jumps to an adjacent stone: toward stone 20 with probability , toward stone 0 with probability . Stone 20 is the far bank (safe) and stone 0 is open water (lost); the frog stops on reaching either.
What is the probability the frog reaches stone 20 before stone 0?
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
Chips at a fair table, reaching the cash-out goalMarble on a track, reaching square 12 firstA stock ticking to ten dollars or zero firstA game character between checkpoints 0 and 8Uphill betting, reaching the goal against the odds
All questions →