Garmin Interview Question

Using pointers and graph BFS, DFS techniques to traverse 2D matrix