Qm

How many flavors after five picks?

A gum machine sells one piece at a time, each an independent uniform pick from 4 flavors. You buy 5 pieces.

On average, how many distinct flavors will your 5 pieces cover?

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

Distinct reactions after ten clicksPrize types among four spinsDifferent songs in a short shuffleDistinct stickers from six packsExpected number of distinct birthdays in a room of 30
All questions β†’