Question d’entretien chez G-Research

Solve a matrix related coding challenge.