Question: Question 2 . Exercise 2 . 5 ( a - j ) from DPV . For each bound, indicate whether you used the master theorem.

Question 2. Exercise 2.5(a-j) from DPV. For each bound, indicate whether you used the master
theorem. If so, state whether the work at the base of the recursion tree dominates, the work at the
root dominates, or the work per level is balanced. If not, show your work solving the recurrence
relation.
Theorem 1(Master theorem). If T(n)=aT(nb)+f(n) for constants a1,b>1, then
T(n)={(nlogba)iff(n)=O(nc)forclogba
2.5. Solve the following recurrence relations and give a bound for each of them.
(a)T(n)=2T(n3)+1
(b)T(n)=5T(n4)+n
(c)T(n)=7T(n7)+n
(d)T(n)=9T(n3)+n2
(e)T(n)=8T(n2)+n3
(f)T(n)=49T(n25)+n32logn
(g)T(n)=T(n-1)+2
(h)T(n)=T(n-1)+nc, where c1 is a constant
(i)T(n)=T(n-1)+cn, where c>1 is some constant
(j)T(n)=2T(n-1)+1
(k)T(n)=T(n2)+1
Question 2 . Exercise 2 . 5 ( a - j ) from DPV .

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!