Match the following: (P) Prim’s algorithm for minimum spanning tree (i)…

GATE · 2015 · CS · Set 1 · Computer Science & IT

Match the following:

(P) Prim’s algorithm for minimum spanning tree

(i) Backtracking

(Q) Floyd-Warshall algorithm for all pairs shortest paths

(ii) Greedy method

(R) Mergesort

(iii) Dynamic programming

(S) Hamiltonian circuit

(iv) Divide and conquer

  1. A.

    P-iii, Q-ii, R-iv, S-i

  2. B.

    P-i, Q-ii, R-iv, S-iii

  3. C.

    P-ii, Q-iii, R-iv, S-i

  4. D.

    P-ii, Q-i, R-iii, S-iv

Attempted by 474 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…