Qm

Duplicate PINs among twenty new users

An app assigns each new user a random 33-digit PIN from 000000 to 999999, that is, one of 10001000 equally likely codes, chosen independently. Twenty people sign up.

What is the probability that at least two of them get the same PIN?

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

Shared birthday among thirty party guestsTen servers grabbing random portsEight processes writing to random memory blocksFifteen guests drawing raffle numbersHow long until you draw the same thing twice?
All questions →