1,746 views
6 6 votes

Let T(n) be defined by T(0) = T(1) = 4 and $T(n) = T(\left \lfloor \frac{n}{2} \right \rfloor) +T(\left \lfloor \frac{n}{4} \right \rfloor) + cn$  for all integers n >=2, where c is a positive constant. What is the asymptotic growth of T(n)?

  1. $\Theta(n)$
  2. $\Theta(n \log n)$
  3. $\Theta (n^2)$
  4. $\Theta \left(n^{\log_{\frac{3}{4}}n}\right)$

2 Answers

Best answer
7 7 votes

The answer is option A.

Using Recursive Tree Method, Time Complexity comes out to be ϴ(n) because the upper bound is O(n) and the lower bound is also Ω(n)

• selected by
Position:
Show:

Related questions

2 2 votes
4 4 answers
2.3k
2.3k views
Anjana Babu asked Dec 31, 2016
2,341 views
On solving the RecuranceT(n) = 3T(n/4) + cn2I was stuck at summation$\sum_{i=0}^{log_4 n} (\frac{3}{16})^{i} cn^{2}$Can someone could help ?
3 3 votes
2 answers 2 answers
1.1k
1.1k views
pC asked Jan 15, 2016
1,113 views
an = an-1 + n , n>=1a0=2Find a100... ?SolutionI actually wanted to know what is wrong with this method .Could you pls help Whats wrong here .T(n) = T(n-1)+nand back su...
3 3 votes
2 answers 2 answers
2.7k
2.7k views
Diksha Aswal asked Jul 3, 2017
2,727 views
T(n) = T(n/3)+T(2n/3)+n What is the solution of Above Given recurrence relation?Give full method to solve this
0 0 votes
1 1 answer
9.2k
9.2k views
PEKKA asked Dec 6, 2016
9,182 views
Solve the following Recurrence Equation using back substitution methodT(n)= T(n-1)+log n​