Pergunta de entrevista da empresa Groupon

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