Examveda

Which of the following is not a property of Dijkstra's algorithm?

A. It finds the shortest path from a single source.

B. It works efficiently with a priority queue.

C. It requires a graph to be connected.

D. It can handle negative weight edges.

Answer: Option D


Join The Discussion

Related Questions on Graph Algorithms (DFS, BFS, Dijkstras, etc)