Domanda di colloquio di IMC Trading

Doing BFS/DFS on a chess board, stack manipulations.