Next:
Recurrences
For example, MergeSort
Solution Techniques
Solution Techniques
Solution Techniques
Now for the boundary conditions ...
Making a Good Guess
Example:
Now let's try subtracting a lower-order term:
Changing Variables
Example: Factorial
Solution Techniques
Example: Fibonacci
Solution Techniques
Solution Techniques
Note
Example: Factorial
Example - Right Way
Example - Wrong Way
Example - Right Way
Solution Techniques
Master Theorem
Example
Example
Example
Example: Use all three methods
Master
Substitution
Iteration
Next: