Originally Posted By: siberia37
put them in a hash list keyed by date

That takes O(N) space, plus it can't check for out-of-order timestamps. Shonky/tonyc's algorithm is the way to go.

Peter