2,153 views
0 votes
0 votes

Which recurrence relation satisfy the sequence: 2, 3, 4, . . ., for ≥ 1.

A ) T(N) = 2 T(N-1) - T(N-2)

   

B)T(N) = T(N-1) + T(N-2)

C)T(N) = N+1

D)

None of these

1 Answer

Related questions

0 votes
0 votes
1 answer
1
Geet asked Nov 29, 2016
559 views
Find a recurrence relation for the number of ternary strings of length n that do not contain two consecutive 0s or two consecutive 1s.Find the same for binary strings.Als...
1 votes
1 votes
1 answer
2
0 votes
0 votes
1 answer
3
vivek1211 asked Oct 2, 2023
262 views
T(n) = T(n^1/2) + ndoing this in substitution method gives the ans as O(n)but using tree recursion gives the ans as O(nlogn)which of these are correct and which has to be...
0 votes
0 votes
0 answers
4
rexritz asked Aug 13, 2023
303 views
$T\left ( n \right )= 8T\left ( \frac{n}{2} \right )+\left ( n\cdot logn \right )^{2.99}$Also can $\mathcal{O}(n^{3})$ be an upper bound to above recurrence relation?