Which of the following is a greedy algorithm?

TPSC Computer/IT Posts 2025Modified — slightly modified from the official paper; see the solution

Which of the following is a greedy algorithm?

  1. A.

    Dijkstra's algorithm

  2. B.

    Merge Sort

  3. C.

    Quick Sort

  4. D.

    Bellman-Ford algorithm

Attempted by 751 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…