GATE CS 2016, set 2 · Question 24 · Algorithms · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
The Floyd-Warshall algorithm for all-pair shortest paths computation is based on
- (A) Greedy paradigm.
- (B) Divide-and-Conquer paradigm.
- (C) Dynamic Programming paradigm.
- (D) neither Greedy nor Divide-and-Conquer nor Dynamic Programming paradigm.
Answer
Answer (C)
Answer from the official GATE CS 2016 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes