closed by
228 views
0 votes
0 votes
closed as a duplicate of: complexity

What should be the approch to solve these relations?

Consider the recurrence relation T(n) = T(n–1) + T(n/2) + n.

Which of the following is a good tight upper bound on T(n)

(A) Θ(n2)
(B) Θ(n2 log n)
(C) Θ(2 (log n)2)
(D) Θ(n (log n)2)

closed by

Related questions

0 votes
0 votes
0 answers
1
rexritz asked Aug 13, 2023
301 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?
1 votes
1 votes
1 answer
2
iarnav asked Jul 29, 2017
2,489 views
Given RR as -T(n) = 2T(n/2)+n ; n>1T(1) = 1Solve this using only BACK SUBSTITUTION method? Note - I am stuck at T(n)= 2^k.T(n/2^k)+(2^k-1).nand I'm putting 2^k=n Please h...
2 votes
2 votes
1 answer
3
indrajeet asked Feb 10, 2016
534 views
T(n) = 2*T(n/2) + n*logn please explain
0 votes
0 votes
0 answers
4