BFS, DFS comments