Pregunta de entrevista de Pandora

Asked a question about sorting an array.