Qm

Different songs in a short shuffle

A "random" shuffle picks each track independently and uniformly from 10 songs (repeats allowed). It plays 5 tracks.

On average, how many distinct songs will you hear across the 5 tracks?

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

How many flavors after five picks?Distinct reactions after ten clicksPrize types among four spinsDistinct stickers from six packsExpected number of distinct birthdays in a room of 30
All questions β†’