Which algorithm is used for finding the shortest path between nodes in a graph…
2025
Which algorithm is used for finding the shortest path between nodes in a graph with weighted edges ?
- A.
Depth First Search (DFS)
- B.
Breadth First Search (BFS)
- C.
Dijkstra's Algorithm
- D.
Kruskal's Algorithm
Attempted by 71 students.
Show answer & explanation
Correct answer: C
Dijkstra's Algorithm is used for finding the shortest path between nodes in a graph with weighted edges.