Question: What is the primary purpose of Dijkstra\'s algorithm?
Options:
Correct Answer: To find the shortest path in a weighted graph
Solution:
Dijkstra\'s algorithm is designed to find the shortest path from a source node to all other nodes in a weighted graph.