Question: ( 2 5 points ) Derive asymptotic upper bounds for T ( n ) in the following recurrences. Make your bounds as tight as possible.

(25 points) Derive asymptotic upper bounds for T(n) in the following
recurrences. Make your bounds as tight as possible. Do not use the
master theorem. Derive your solutions from scratch. Show all
your steps in order to gain full credits (either using the repeated expansion
method or the recursion tree method). You may assume that n is a power
of 2 for (b) and (c),n is a pwoer of 4 for (d), and n is a power of 5 for (e).
(a)T(1)=1;T(n)=T(n-1)+n2 for n>1.
(b)T(1)=1;T(n)=4T(n2)+n2 for n>1.
(c)T(1)=1;T(n)=3T(n2)+n for n>1.
(d)T(1)=1;T(n)=2T(n4)+n2 for n>1.
(e)T(1)=1;T(n)=T(n5)+T(3n5)+n for n>1. Hint: Draw the
recursion tree. Examine of the sum of costs across a level. Guess a
solution. Then, try to prove by induction.
( 2 5 points ) Derive asymptotic upper bounds for

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!