Computer Sciences > GATE 2024 Set-2 > Recurrence Relations
Let T(n) be the recurrence relation defined as follows:
T(0) = 1,
T(1) = 2, and
T(n) = 5T(n-1) - 6T(n-2) for n ≥ 2
Which one of the following statements is TRUE?
A
T(n) = Θ(2n)
B
T(n) = Θ(n2n)
C
T(n) = Θ(3n)
D
T(n) = Θ(n3n)

Explanation

Correct : c

Similar Questions

What is the worst-case time complexity of insertion in an AVL tree?
Question #23 Medium
Which operations on a binary search tree have O(h) complexity?
Question #31 Easy
Compare search complexities of sorted array vs balanced BST.
Question #47 Hard

Related Topics

Data Structures Binary Search Tree Time Complexity Algorithm Analysis Tree Algorithms Computer Science