Examveda

Which algorithm is suitable for finding the shortest path in a graph with varying weights?

A. Prim's Algorithm

B. Depth-First Search (DFS)

C. Dijkstra's Algorithm

D. Kruskal's Algorithm

Answer: Option C


Join The Discussion

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