Comment on Stephen Hawking 'very ill'parentComments−param17yeveryone says out their birthday in order of seating(randomly seated). If someone hears their birthday, they shout out of turn.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
Comments
everyone says out their birthday in order of seating(randomly seated). If someone hears their birthday, they shout out of turn.
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