Pergunta de entrevista da empresa Garmin

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