by param · 17y ago · 0 comments
So it's about 1%, assuming uniform distribution of birthdays. Since they're not quite uniformly distributed, the actual odds of 60 people with no common birthdays is a little lower than that.
However, given the thousands of people reading HN who experienced such a classroom exercise, the odds are very good that someone like you will pipe up ;-)
I guess you were expecting an algorithm faster than O(n)? That was the best we could do, given n processors with O(1) space each :-D