Colliding PIN codes
A website assigns each new user a random 3-digit PIN from to , so there are equally likely codes.
How many users must sign up before it is more likely than not that two of them were assigned 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
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
How big a team before two share a birthday?Matching your birthday specificallySharing a birth monthForty guests, any shared birthdayFiles before a hash table hits its first clash
All questions →