Given a stream of time stamps, separate them into different buckets, such that:
- No element in one bucket is more than 30 minutes apart;
- For any two adjacent bucket b1, and b2, there must be at least one element in the bucket, so that p1<p2 - 30minutes
Expand the range of each bucket as much as possible