LivingSocial interview question

Not very difficult.