Which algorithm efficiently finds the shortest path in a graph with non-negative weights?
-
A
Dijkstra's Algorithm
Correct answer
-
B
Bellman-Ford Algorithm
-
C
Floyd-Warshall Algorithm
-
D
A* Search Algorithm
Correct answer
A. Dijkstra's Algorithm
19 views
Explanation
Dijkstra's Algorithm finds the shortest path in graphs with non-negative weights.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ