Pregunta de entrevista de Internet Brands

Nothing surprising. All about array manipulation.