Question: Solve the following recurrence equations using recursion tree method : a) T(n)= 3T(n/3) + n/2 ; T(1)=1 . (Assume that n is a power of
Solve the following recurrence equations using recursion tree method:
a) T(n)= 3T(n/3) + n/2 ; T(1)=1 . (Assume that n is a power of 3)
b) T(n)= 4T(n/2) + 2n ; T(1)=1 . (Assume that n is a power of 2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
