All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · December 2022 (Shift 1)

Match List I with List II

Figure

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. A-IV, B-I, C-II, D-III

Explanation

8-queens uses backtracking; closest pair of points uses divide and conquer; string edit distance uses dynamic programming; the (fractional) knapsack problem uses a greedy method.

More Data Structures and Algorithms questions