0
Is it dfs or bfs has more than one solution?
Irritating with graphs (data structures ) While tracing the solution it is showing one answer ,but it is not equal to the result display by the compiler...... Plz help
1 Resposta
+ 1
The different between DFS and BFS is the traversing direction. DFS will go deep at priority, and BFS will go wide at priority.