GATE CS 2015, set 1 · Question 13 · Algorithms · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Match the following:
(P) Prim's algorithm for minimum spanning tree
(Q) Floyd-Warshall algorithm for all pairs shortest paths
(R) Mergesort
(S) Hamiltonian circuit
(i) Backtracking
(ii) Greedy method
(iii) Dynamic programming
(iv) Divide and conquer
- (A) P-iii, Q-ii, R-iv, S-i
- (B) P-i, Q-ii, R-iv, S-iii
- (C) P-ii, Q-iii, R-iv, S-i
- (D) P-ii, Q-i, R-iii, S-iv
Answer
Answer (C)
Answer from the official GATE CS 2015 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes