Pregunta de entrevista de Ginger Webs

coding question with patterns and matrix