HTH vs HTT Pattern Race

Probability · Medium · Free problem
Alice and Bob are watching a single stream of fair coin flips. Alice wins as soon as the pattern $\text{HTH}$ appears. Bob wins as soon as $\text{HTT}$ appears. Whichever pattern shows up first in the sequence determines the winner. What is the probability that Alice wins?

Open the full interactive solver, hints, and worked solution →