ISRO 2017 · Shortest Path Algorithms

MCQ · 1 mark · Problem PROG-GRPH-0060

Which of the following algorithms solves the all pair shortest path problem?
  1. A
    Prim's algorithm
  2. B
    Dijkstra's algorithm
  3. C
    Bellman ford algorithm
  4. D
    Floyd warshalls algorithm

Solve it on GATE DA practice →More Graph Theory & Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/128494/isro2017-76

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com