Pregunta de entrevista de Goldman Sachs

The first problem was a heap problem.