Google interview question

Question was like BFS, DFS based in Graphs