Pregunta de entrevista de Principal Financial Group

Solve a array problem, and behavioral