Two-thirds of the way through the badges
An app grants one random badge per task, uniformly from 15 badge types, independently. You already have 10 different badges.
On average, how many badges must you earn before one of them is a type you are missing?
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
Waiting for the next new heroOne charm away from a milestoneChasing the last two cardsEarly days of a flavor huntCollecting all six cereal-box toys
All questions →