Domanda di colloquio di Applied Intuition

Question was a graph traversal problem on a grid