Which of the following algorithms is specifically designed for finding the shortest path in a graph?
Breadth-first search (BFS)
Topological sort
Dijkstra's algorithm
Depth-first search (DFS)

Data Structures and Algorithms Exercises are loading ...