Question:

Match List I with List II
LIST ILIST II
(A) Floyd-Warshall algorithm for all pair shortest paths(I) Divide and Conquer
(B) Prim’s algorithm(II) Greedy Paradigm
(C) Hamiltonian Circuit(III) Backtracking
(D) Merge Sort(IV) Dynamic Programming paradigm
Choose the correct answer from the options given below:

Show Hint

Understand the paradigms associated with algorithms to match them effectively.
Updated On: Dec 29, 2024
  • (A) - (IV), (B) - (III), (C) - (II), (D) - (I)
  • (A) - (IV), (B) - (II), (C) - (III), (D) - (I)
  • (A) - (II), (B) - (III), (C) - (I), (D) - (IV)
  • (A) - (III), (B) - (II), (C) - (IV), (D) - (I)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

- **(A) Floyd-Warshall algorithm** uses the Dynamic Programming paradigm (IV). - **(B) Prim’s algorithm** is based on the Greedy Paradigm (III). - **(C) Hamiltonian Circuit** is solved using Backtracking (II). - **(D) Merge Sort** is implemented using the Divide and Conquer paradigm (I).
Was this answer helpful?
0
0