Pregunta de entrevista de John Deere

The coding round was based on arrays.