Need to know:
- Induction
Proving Induction:
- Create a base case where hypothesis is correct
- Assume f(k) is true (your base case)
- Prove that its true when n=k+1
- Sometimes solutions lend themselves easily, other times you have to employ your assumption in your inductive proof
- Asymptotic Analysis: Big-O, Limit Lemma
Proving Big-O
-
Asymptotic Run-Time Code Analysis
-
Divide and Conquer
- Solving Recurrences
- Substitution
- Recurrence Tree
- Masters Thm
- Design & Understnading
- Runtime of merge iven three lists of size n/3 each
- Algorithm that finds all subsets
- Solving Recurrences