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

Which one of the following algorithm design techniques 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

From the BB Assistant Programmer February 2023 – Written (BIBM) exam, question 22 of 37.

More from this paper