Qm

Expected number of head-head pairs

You flip a fair coin ten times in a row. Every time a head is immediately followed by another head, you score a point (so the run HHH counts as two overlapping pairs, positions 1-2 and 2-3).

On average, how many points do you score?

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 heads from a biased coinExpected number of HT patterns in 100 coin flipsHow many months with no birthday?Expected number of sevensExpected same-color neighbors in a shuffled deckExpected duplicate-code pairs among a thousand users
All questions →