309 views
0 votes
0 votes
Hi Guys,

BFS could be used for finding single source shortest path in unweighted graph. But could we use DFS also ? Please share your valuable opinion.

PS: I think after little bit modification DFS could also be used but it's running time will increase.

Please log in or register to answer this question.

Related questions