Match List I with List II

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
- Given below are two statements: Statement I: If f and g are two functions and f = O(g) g ≠ o(f) but , we say that the growth rate of g is s…
- Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R. Assertion A: It is possible to create…
- Given six weights 4, 15, 25, 5, 8, 16, construct a 2-tree (binary tree). What is the minimum weighted path length?
- Consider: A. The number of labelled binary trees possible with n nodes is (2n)!/(n + 1)!. B. The number of binary search trees possible wit…
- Which of the following are correct about Hamiltonian problems? A. The Hamiltonian cycle problem is NP-complete. B. If G is an undirected bi…
- For matrix multiplication with a simple divide-and-conquer algorithm: A. the running time is T(n) = Θ(n³) B. the running time is T(n) = Θ(n…