Qm

A game character between checkpoints 0 and 8

In a game, a character stands at checkpoint 5 on a line of checkpoints numbered 0 through 8. Each turn a fair coin decides its drift: forward one checkpoint with probability 12\tfrac12, back one with probability 12\tfrac12. The level ends when it reaches checkpoint 8 (victory) or checkpoint 0 (fail).

What is the probability the character reaches checkpoint 8 before checkpoint 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

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 frog on stones 0 to 20 aiming for the far bankUphill betting, reaching the goal against the odds
All questions →