Groupon interview question

Usual algorithmic problems you would expect.