Question: 1. T(n) = T(n-1) +n Use iteration method to solve it. 2. T(n) =2T(n/4) + n 1/2 Use master method to solve it, then use
1. T(n) = T(n-1) +n Use iteration method to solve it.
2. T(n) =2T(n/4) + n 1/2 Use master method to solve it, then use Substitution method to prove it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
