Pregunta de entrevista de TATA ELXSI

Operation based on 2D array.