Pregunta de entrevista de Outreach

some sorting question based on a array