Pregunta de entrevista de Groupon

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