Qm

Back and forth on a line, return guaranteed?

A token starts at 0 on the number line. Each step it moves +1+1 or 1-1, each with probability 1/21/2, 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

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. 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 →