Question d’entretien chez Devron

They asked me a typical DSA question with 2D array manipulation