Qm

Flips to collect two heads from a stingy coin

A coin lands heads with probability 0.250.25 on each flip, independently. You flip it until you have seen 22 heads in total (they need not be consecutive).

On average, how many flips does that take?

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

How many flips to collect three heads (not in a row)?Attempts to land three good data downloadsShots to make five basketsRolls of a die to see four sixesSales calls to close three deals
All questions →