Mathematics (JEE)HardGATE CS · ISI

A simple symmetric random walk starts at 0 and moves +1 or -1 with probability 1/2 each. It stops as soon as it reaches +3 or -2. What is the probability that it stops at +3?

  1. A. 2/5
  2. B. 3/5
  3. C. 1/2
  4. D. 1/4

Correct answer: A. 2/5

The position is a martingale, so for a fair walk started at 0 on {-2, ..., 3}, P(hit 3 first) = (0 - (-2))/(3 - (-2)) = 2/5.

More Permutations, Combinations and Probability questions

Exams that ask this topic