Domanda di colloquio di MathWorks

Algorithm for connecting squares in a grid