Question: 8. Solve the following recurrences with master method if applicable. Base case is assumed to be T(1)=1 for all RRs. (i) T(n)= 3T(n/2)+n14. (ii) T(n)=


8. Solve the following recurrences with master method if applicable. Base case is assumed to be T(1)=1 for all RRs. (i) T(n)= 3T(n/2)+n14. (ii) T(n)= 4T(n/2)+ n logn. (iii) T(n)= 6T(n/2)+ n3 (iv) T(n) = 2T(n/2) + n log n. (10) 9. Solve the following RRs with recursion tree. Base case is assumed to be T(1)=1 for all RRs. () T(n)= 4T(n/2)+ n^2. (ii) T(n)= 2T(n/2)+ 2n. (ii) T(n)= 2T(n/2)+ 2n. With the help of substitution method check whether T(n) is (n log n)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
