Recent questions tagged recurrence-relation

0 votes
1 answer
32
Solve the following recurrences using recursion tree method and write the asymptotic time complexity T(n)=T(n/2)+n^2
7 votes
4 answers
34
1 votes
0 answers
36
Can anyone solve this recurrence relation T(n) = 3T(n-1) + O(n^2)Its ans is O(3^n n^2)
22 votes
1 answer
37
What is the recurrence relation for the ternary strings of length $n$ which can be constructed using 0,1 or 2 only such that the number of 0’s and number of 1's is od...
0 votes
1 answer
43
How to solve this recurrence relationT(n)= T(0.09n) + T(0.91n) + cnwhere c is constant and T(1)=1options are-
0 votes
0 answers
45
T(n) = 3T(n-1) -4T(n-2) + 2T(n-3)If n = 0 then T(n) = 1 if n= 1 or 2 then T(n) = 0What is the generalized solution?
0 votes
0 answers
49
2 votes
1 answer
50
T(n) = 5T(n/3) + T(2n/3) + 1.My answer is BigOmega(n) BigO(n). Am I right? This is a question I found on cs.stackexchange.