Anonymous Interview Question

Graph traversal on grid and follow ups