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
Topic-wise GATE CS PYQs with verified steps