Qm

How many draws until a card repeats?

You draw a card uniformly at random from a standard 5252-card deck, note it, and put it back. You keep drawing until you see a card you have already drawn.

On average, how many draws does it take to get the first repeat?

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

PINs generated until the first duplicateRolls of a hundred-sided die until a repeatPeople entering until two share a birthdayExpected number of shared-birthday pairsWhy twenty-three people give even odds
All questions →