Graphs data structure: DFS vs BFS?

Posted by Codenotguru on Stack Overflow See other posts from Stack Overflow or by Codenotguru
Published on 2010-04-13T00:00:52Z Indexed on 2010/04/13 0:12 UTC
Read the original article Hit count: 640

Filed under:
|
|

if given a graph problem how do we know whether we need to use bfs or dfs algorithm??? or when do we use dfs algorithm or bfs algorithm. What are the differences and advantages of one over other?

© Stack Overflow or respective owner

Related posts about graphs

Related posts about graph