Question:

Which algorithm design strategy is used to find single source shortest paths?

Show Hint

Dijkstra's Algorithm \[ \Longrightarrow \] Greedy Strategy Bellman-Ford \[ \Longrightarrow \] Dynamic Relaxation Method
Updated On: Jun 25, 2026
  • Divide and Conquer
  • Divide and Merge
  • Greedy Approach
  • Branch and Bound
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Concept: The Single Source Shortest Path problem seeks the shortest path from one source vertex to all other vertices in a graph. The most famous algorithm for this problem is Dijkstra's Algorithm. Dijkstra's algorithm is based on the Greedy Strategy.

Step 1:
Understand Dijkstra's Algorithm.
At each step, Dijkstra's algorithm selects the vertex with the smallest tentative distance. This locally optimal choice is made repeatedly.

Step 2:
Identify the design strategy.
Making the best immediate choice at every stage is the hallmark of a Greedy Algorithm. Thus Dijkstra's algorithm follows the Greedy Approach.

Step 3:
Compare with other strategies.
Divide and Conquer breaks a problem into subproblems. Branch and Bound is mainly used in optimization problems. Neither is the standard strategy for Dijkstra's shortest path algorithm.

Step 4:
Write the answer.
Therefore, \[ \boxed{\text{Greedy Approach}} \] Hence option (C) is correct.
Was this answer helpful?
0
0