GATE CSE Algorithms – Time Complexity, Recurrences & Amortized Analysis Practice Test | Set 1

Questions 31-35 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 31

MCQ · Single Correct 1 mark

Solve the recurrence T(n) = T(n-1) + $2^n$ with T(0) = 1.

Answers for question 31

Question 32

MCQ · Single Correct 2 mark

What is the time complexity of the Fibonacci recurrence T(n) = T(n-1) + T(n-2) + O(1)?

Answers for question 32

Question 33

MCQ · Single Correct 1 mark

For the recurrence T(n) = 16 T(n/4) + n!, what is the asymptotic solution?

Answers for question 33

Question 34

MCQ · Single Correct 1 mark

What is the asymptotic bound for T(n) = T(n - 2) + n?

Answers for question 34

Question 35

MCQ · Single Correct 1 mark

Solve T(n) = 8 T(n/2) + $n^3$.

Answers for question 35
Scroll to Top