The Birthday Problem: Shared Birthdays in a Room
Problem statement
You are at a party and wondering about birthday coincidences.
Part 1: There are $N \leq 365$ people in the room. What is the probability that at least two of them share the same birthday? Assume birthdays are uniformly distributed across 365 days and independent.
Part 2: Now focus on yourself. Given $N$ people in the room (including you), what is the probability that at least one other person shares your birthday?
Show hint
Is it easier to count the ways nobody matches than the ways at least one match occurs?
Relevant roles: Data Scientist, Applied Scientist and ML Engineer.
Related free problems
- Birthday ProblemEasy