Pregunta de entrevista de Healthy.io

Leetcode question something with matrixes