Question # 01: Compute big-oh of the given T(n) using the specified methods: Iteration Method: T(n) = 8T(n/2) + n2 where T(1) = 1, no=1 T(n) = 7T(n/2) + n2 T(n) = 4T(n/2) + n3. Recursion Tree Method:...



Question # 01:


Compute big-oh of the given T(n) using the specified methods:




  • Iteration Method:



  1. T(n) = 8T(n/2) + n2where T(1) = 1, no=1

  2. T(n) = 7T(n/2) + n2 T(n) = 4T(n/2) + n3.




  • Recursion Tree Method:



  1. T(n) = 3T(n/2) +n

  2. T(n) = 2T(n-1) + 1




  • Master Method



  1. T(n) = 2T(n/4) +1

  2. T(n) = 2T(n/4) +n

  3. T(n) = 2T(n/4) +√n

  4. T(n) = 2T(n/4) +n2


=r(9) + r (4) + r (4)<br>Τ(n)T<br>+ΤT<br>+n<br>

Extracted text: =r(9) + r (4) + r (4) Τ(n)T +ΤT +n

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here