Groupon Interview Question

There was a difficult CS theory question about data structures and algorithms.