Bosch Interview Question: Something close to the follow... |

Interview Question

Data Scientist Interview Palo Alto, CA (US)

Something close to the following, but a little more

  complicated: How many people must be gathered together in a room, before you can be certain that there is a greater than 50/50 chance that at least two of them have the same birthday?
brain teaser, probability

Interview Answer

2 Answers


Only twenty-three people need be in the room, a surprisingly small number. The probability that there will not be two matching birthdays is then, ignoring leap years, 365x364x363x...x343/365 over 23 which is approximately 0.493. this is less than half, and therefore the probability that a pair occurs is greater than 50-50. With as few as fourteen people in the room the chances are better than 50-50 that a pair will have birthdays on the same day or on consecutive days.

Interview Candidate on 05-Feb-2014

Here is link

Anonymous on 06-May-2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.