Which of the following algorithm design technique is used in finding all pairs…

PYQ GATE 1998

Which of the following algorithm design technique is used in finding all pairs of shortest distances in a graph?

  1. A.

    Dynamic programming

  2. B.

    Backtracking

  3. C.

    Greedy

  4. D.

    Divide and Conquer

Attempted by 891 students.

Sign up free to check your answer

Sign up free

Explore the full course: Algorithms

Loading lesson…