Engineering MathematicsVery hardGATE CS (PYQ pattern)

A fair coin is tossed until either H T H or H H T appears as three consecutive tosses. Player A wins if H T H appears first. What is the probability that A wins?

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

Correct answer: C. 1/3

Once the sequence reaches HH, HHT is certain to come first (any T completes it). From H, the next toss gives HH (B is then sure to win) or HT; from HT, H wins for A and T resets. Solving p_H = ½·0 + ½·p_HT, p_HT = ½ + ½·p_start, p_start = p_H gives p = 1/3. (Equal expected waiting times, 10 vs 8, do not make it 1/2.)

More Engineering Mathematics (GATE) questions

Exams that ask this topic