Which of thefollowing statementis true?
Dijkstra's algorithm has greedy approach to find all pairsshortest paths.
• Dijkstra's algorithm hasgreedy approach to compute single source shortest paths to allother vertices. •
The runtime of Dijkstra'salgorithm is O (E log V).
• TheruntimeofDijkstra'salgorithmisO(Vlog E).
Which of thefollowing statementis true? Dijkstra's algorithm has greedy approach to find all pairs shortest paths. •
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am