Pregunta de entrevista de Apollo Global Management

LC Medium problem with matrices.