Pregunta de entrevista de Tremend Software Consulting

The coding question was about a matrix.