recategorized by
579 views

2 Answers

0 votes
0 votes
yes O(E) is possible . then the graph should be directed acyclic graph .

Related questions

4 votes
4 votes
2 answers
1
lowOnATP asked Jun 29, 2015
2,565 views
I mean if we run prim's algorithm on a weighted directed graph, will it give the same shortest path? And vice-versa?Also if we run dijkstra's algorithm on a graph with ne...
1 votes
1 votes
1 answer
2
0 votes
0 votes
0 answers
3
Chhotu asked Nov 4, 2017
312 views
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 li...
0 votes
0 votes
1 answer
4