How many streaks in twenty coin flips?
You flip a fair coin 20 times in a row. A "streak" (or run) is a maximal block of the same result.
On average, how many streaks appear in the 20 flips?
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
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
How many streaks in ten coin flips?How many streaks with a biased coin?How many color blocks in a shuffled row of balls?How many blocks of equal values in six dice rolls?How many rising steps in a shuffled list?
All questions →