Qm

Flips until three heads in a row

You flip a fair coin repeatedly. The moment you see 33 heads in a row you stop. A single tail at any point resets your current streak back to zero.

On average, how many flips does it take to get three heads in a row?

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

Flips until four heads in a rowRolls until two sixes in a rowFlips until two heads in a row on a lucky coinFlips until three of the same face in a rowTaking turns to roll the first six
All questions β†’