Back and forth on a line, return guaranteed?
A token starts at 0 on the number line. Each step it moves or , each with probability , and it walks forever.
What is the probability the token eventually returns to 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
Random walk on a grid, do you ever get home?Lost in three dimensions, chance of ever returningThe drunk bird, chance of never coming homeHow many times does a line walk revisit zero?Guaranteed to arrive, yet the average wait is infinite
All questions →