Qm

Expected flips to get two heads in a row

You flip a fair coin repeatedly, stopping the moment you see two heads in a row.

What is the expected number of flips until you stop?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion Β· reading is open to everyone

πŸ’‘ Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Expected rolls to get two sixes in a rowExpected spins to land red twice in a rowExpected draws to get two spades in a rowExpected items until two defects in a rowRandom walk on a square to the opposite cornerRandom walk across a hexagon to the far vertex
All questions β†’