Fill in the blank: The time complexity for the recurrence T(n) = 2T(n/2) + cn is ______. | Card: 3 / 20 |
True or False: The recurrence relation T(n) = T(n - 1) + n has a time complexity of O(n). | Card: 5 / 20 |
In the Master Method, if f(n) = Θ(n^c) where c > log_b(a), then T(n) is equal to ______. | Card: 7 / 20 |
Riddle: I can be solved using a guess and prove method, often involving induction. What am I? | Card: 9 / 20 |
![]() Unlock all Flashcards with EduRev Infinity Plan Starting from @ ₹99 only |
Fill in the blank: The recurrence T(n) = T(√n) + 1 can be transformed using the substitution n = 2^m into ______. | Card: 13 / 20 |
True or False: The recurrence T(n) = 2T(n/2) + √n leads to a time complexity of Θ(n). | Card: 15 / 20 |
Which of the following recurrence relations can be solved using the Master Method? A) T(n) = 2T(n/2) + n B) T(n) = T(n - 1) + n C) T(n) = T(√n) + 1 D) T(n) = 2T(n/2) + n/log(n) | Card: 17 / 20 |
Riddle: I am a technique that visualizes the levels of a recurrence to calculate total work done. What am I? | Card: 19 / 20 |






