Domanda di colloquio di RBC

the second question was 2D array matrix analysis