Domanda di colloquio di Autodesk

The question with array minipulation. The question with bfs.