retagged by
348 views

1 Answer

1 votes
1 votes
Bfs alone can find single source shortest path in undirected  unweighted connected graph.

BFS  and DFS can check if the graph is bipartite or not,find cycle in static graphs,check whether a node is reachable or not ,can check if graph is connected or not,and can find no of connected components

DFS alone can find cut nodes of a graph.

If a topological sort exists then no back edge is formed in DFS.

Dfs can alone check if the given graph is strongly connected or not

Related questions

0 votes
0 votes
0 answers
2
Rishav Kumar Singh asked Aug 2, 2018
799 views
Please give an example i didn't get itThe depth of any DFS tree rooted at a vertex is at least as much as thedepth of any BFS tree rooted at the same vertex.
0 votes
0 votes
1 answer
4