Groupon interview question

A case study