How few people for two near-birthdays?
Call two people a "near-match" if their birthdays are within day of each other (the same day, or one day apart). Birthdays are independent and uniform over days.
What is the smallest number of people for which a near-match is more likely than not?
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 few people for two birthdays in the same week?How many tokens before a duplicate is likely?Buyers before two share a collectible cardHow many keys before an eleven-bit token repeats?When the square-root rule undercounts by one
All questions β