Pregunta de entrevista de Microsoft

Something about finding a minimal element in the matrix