MediumStochastic ProcessesAcceptance 44%

Flips Until Two Heads in a Row

Jane StreetCitadel

What is the expected number of fair-coin flips to get two heads in a row (HH)?

Approach

Track states: 0 heads so far vs. 1 head so far.

A tail always sends you back to the start state.

Answer

Show the final answer

The answer is 6. Sign in free for the full worked solution and to check your own answer.

Related problems

More in Stochastic Processes.