|
|
Take quiz & check grades |
Substitution method:approach:Guess a bound and use mathematical induction to prove the guess correct note: There is no recipe to find a correct guess. What do we do?
Example: Take the running time T(n) = 2*T(floor(n/2)) + n
|