Probability

Triple Heads Showdown

Difficulty
A fair coin is flipped until one of the two patterns appears: HHH or THH. What is the probability that the all-heads triple HHH shows up before THH?
Scratchpad