Pregunta de entrevista de Apple

Find bugs in a naive implementation of a priority queue.