Date | Topic | Reading | Problem sets |
---|---|---|---|
Jan 9 | Introduction, induction |
PS0 out
|
|
Jan 12 | asymptotic order of growth, Karatsuba |
Karatsuba: Erickson 1.8, demo
|
PS0 due
PS1 out
|
Jan 16 |
recursion tree, mergesort |
Mergesort: demo
|
|
Jan 19 | Master theorem, change of variable |
Master theorem:
Erickson Appendix II.3
|
PS1 due
PS2 out
|
Jan 23 |
deterministic median
|
||
Jan 26 |
Random variables, quicksort
|
PS2 due
PS3 out
|
|
Jan 30 | coin change, dynamic programming |
||
Feb 2 | log cutter, knapsack |
PS3 due
PS4 out
|
|
Feb 5 | seam carving, typesetting |
Seam carving: paper
Typesetting: MIT video
|
|
Feb 9 | typesetting, gerrymander |
PS4 due
PS5 out
|
|
Feb 13 | Midterm 1 |
||
Feb 16 | edit distance, greedy algorithms, files on tape |
||
Feb 20 | interval scheduling |
||
Feb 23 |
Huffman coding
|
PS5 due
PS6 out
|
|
Feb 27 | graph, depth first search, topological sort |
||
Mar 2 | Minimum spanning trees, generic algorithm |
PS6 due
PS7 out
|
|
Mar 13 | No class, snow day |
||
Mar 16 | Prim, Kruskal |
PS7 due
PS8 out
|
|
Mar 20 |
Breadth-first search, shortest paths
|
Demos for BFS, Dijkstra's
|
|
Mar 23 |
Bellman-Ford, all-pairs shortest paths
|
PS8 due
PS9 out
|
|
Mar 27 |
Midterm 2
|
||
Mar 30 |
Network flow, maximum flows and minimum cuts
|
||
Apr 3 |
Edmonds-Karp
|
||
Apr 6 | bipartite matching, image segmentation |
Matching: Erickson 24.3
|
PS9 due
PS10 out
|
Apr 10 |
Stable matchings
|
||
Apr 13 | Hashing, fingerprinting |
PS10 due
|
|
Apr 17 | Fingerprinting, Bloom filter |