All mock tests are FREE till 31 December — register to save your progress

Match List I with List II

Figure

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

Show answer & explanation

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

Explanation

Plain recursion for Fₙ takes Θ(φⁿ); memoization gives O(n); repeated squaring (integer addition and multiplication only) gives O(log n); the optimal bitonic tour DP takes O(n²).

More Data Structures and Algorithms questions