Domanda di colloquio di JPMorganChase

Coding question that had to do with arrays