Qm

Eight monster figures from a gumball machine

A gumball machine dispenses one plastic monster figure per turn, chosen uniformly at random from 8 different figures, independently each time.

On average, how many turns must you take to end up with all eight figures?

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

Collecting all six cereal-box toysFour trading cards, one per packFive sticker designs in a blind bagThree coupons in a snack promotionExpected draws to collect all ten coupons
All questions →