(Course outcomes) Upon the completion of this course, students will be able to:
| Aug 18 | Aug 20 MinMax searching. The power of divide-conquer. Reading: notes, Chapter 0-1. |
| Aug 25 Sorting: the good, the bad and the ugly (HW0). Selection: median finding (Blum-Floyd-Pratt-Rivest-Tarjan). Reading: notes, Chapter 1. | Aug 27 Recurrences; Asymptotics. Lower bounds. Reading: supplementary notes, Chapter 1. |
| Sep 1 Backtracking: subset-sum, etc. Reading: Chapter 2 (optimal BST, LIS) | Sep 3 Constraint Satisfaction Problem (CSP): randomized and graph-theoretic methods (HW1). Reading: Chapter 2. |
| Sep 8 Dynamic programming. Reading: Chapter 3. | Sep 10 Dynamic programming: Edit Distance. Reading: Chapter 3. |
| Sep 15 Dynamic programming: Viterbi (HW2). Reading: see class notes. | Sept 17 Hidden Markov Model: Viterbi (continued). Reading: see class notes. |
| Sep 22 Greedy algorithms: activity scheduling. Reading: Chapter 4. | Sep 24 Greedy: optimality (exchange property). Reading: Chapter 4. |
| Sep 29 Huffman coding. Reading: Chapter 4. | Oct 1 Compression: Lempel-Ziv. Reading: see class notes; also notes (by Peter Shor). |
| Oct 6 Amortized analysis. Stack and Vector examples. Potential function. Reading: see class notes. | Oct 8 Test 1. |
| Oct 13 Graph theory. Adjacency list vs matrix. Breadth vs Depth First Search. Reading: Chapter 5,6. | Oct 15 Graph theory. Topological sorting (DFS). Strongly connected components (DFS). Shortest Paths (Dijkstra: greedy method). Reading: Chapter 5,6,8. |
| Oct 20 Maximum-Flow Minimum-Cut. Ford-Fulkerson: st-flow, st-cut, augmenting path. Reading: Chapter 10. | Oct 22 Maximum-Flow Minimum-Cut. Edmonds-Karp: shortest augmenting path. Applications: maximum bipartite-matching. Reading: Chapter 10,11. |
| Oct 27 NP-Hardness. Reading: Chapter 12. | Oct 29 NP-Hardness. Reading: Chapter 12. |
| Nov 3 Test 2.
| Nov 5 Other graph problems: minimum spanning trees, bipartite perfect matching (via MaxFlow), maximum matching.
|
| Nov 10 Data structures: heap (heapsort), splay trees, disjoint union.
| Nov 12
|