GATE CS 2016 · Set-2 · Graph Traversals (BFS & DFS)

MCQ · 1 mark · Problem PROG-GRPH-0065

The Floyd-Warshall algorithm for all-pair shortest paths computation is based on
  1. A
    Greedy paradigm
  2. B
    Divide-and-Conquerparadigm.
  3. C
    Dynamic Programing paradigm.
  4. D
    neither Greedy nor Divide-and-Conquer nor Dynamic Programming paradigm.

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

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/39570/gate2016-2-14

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