Class | Topics | Due |
1-09 Mon | Administration and introduction. [CLRS, 1] Asymptotic notation. [CLRS, 3] |
PS1 OUT |
1-11/12 Wed/Thu | Bubblesort [CLRS, Problem 2-2] Countingsort [CLRS, 8.2] Radixsort [CLRS, 8.3] |
|
1-16 Mon | Holiday, no classes | PS1 DUE/ PS2 OUT |
1-18/19 Wed/Thu | Mergesort [CLRS, 2.3] Quicksort [CLRS, 7] |
|
1-23 Mon | Oblivious mergesort [V, 2.1] | PS 2 DUE |
1-25/26 Wed/Thu | Median [CLRS, 9.3]
Closest pair [CLRS, 33.4] |
|
1-30 Mon | Karatsuba's integer multiplication [KT, 5.5]
Strassen's matrix multiplication [CLRS, 4.2] |
QUIZ/ PS3 OUT |
2-01/02 Wed/Thu | Polynomials and fast Fourier transform [CLRS, 30], [KT, 5.6] | |
2-06 Mon | Introduction to dynamic programming | PS3 DUE |
2-08/09 Wed/Thu | Practice midterm. Thursday class canceled due to weather. | |
2-13 Mon |
Midterm I
NOTE: Different rooms 11:45am - 1:25pm in HT (Hurtig) 129 2:50pm - 4:30pm in BK (Behrakis) 310 |
|
2-15/16 Wed/Thu | Dynamic programming
Subset sum with small numbers Coin-change problem |
|
2-20 Mon | Holiday, no classes | PA1 OUT |
2-22/23 Wed/Thu | Dynamic programming in economics [V, 3.1]
Longest common subsequence [CLRS, 15.4] |
PS4 OUT |
2-27 Mon | Binary search trees [CLRS 12.1, 12.2] [V 4]
Rotations [CLRS 13.2] [V 4] |
|
3-01/02 Wed/Thu | AA Trees [V 4] | PS 4 DUE by Wed 2 PM |
3-06 Mon | Spring break, no classes | PA1 DUE |
3-08/09 Wed/Thu | Spring break, no classes | |
3-13 Mon | Hash functions [CLRS 11] | QUIZ |
3-15/16 Wed/Thu | Review | |
3-20 Mon |
Midterm II
NOTE: Different rooms 11:45am - 1:25pm in HT (Hurtig) 129 2:50pm - 4:30pm in BK (Behrakis) 310 |
PS 5 OUT/ PA2 OUT |
3-22/23 Wed/Thu | Heaps [CLRS 6]
Graph representations [CLRS 22.1] Breadth-first search [CLRS 22.2] |
|
3-27 Mon | Bellman-Ford [CLRS 24.1]
Dijkstra [CLRS 24.3] |
PS 5 DUE |
3-29/30 Wed/Thu | All-pairs shortest-path via matrix multiplication [CLRS 25.1]
Floyd Warshall [CLRS 25.2] Johnson's algorithm [CLRS 25.3] |
|
4-03 Mon | 3SAT reduces to CLIQUE [CLRS 34.5.1] | QUIZ / PS 6 OUT/ PA2 DUE |
4-05/06 Wed/Thu |
CLIQUE to VERTEX-COVER [CLRS 34.5.2]
3SAT reduces to SUBSET-SUM [CLRS 34.5.5] 3SAT reduces to 3COLOR |
|
4-10 Mon |
Flow networks [CLRS 26.1] (our notation is closer to edition 2 CLRS)
Ford-Fulkerson [CLRS 26.2] Edmonds-Karp [CLRS 26.3] Maximum bipartite matching [CLRS 26.4] |
PS 6 DUE/ PS 7 OUT |
4-12/13 Wed/Thu |
The linear programming problem [CLRS 29.1, 29.2]
The simplex algorithm [CLRS 29.3] 2-approximation for VERTEX-COVER [CLRS 35.1] 2-approximation for weighted VERTEX-COVER [KT 11.6] |
|
4-17 Mon | Holiday, no classes | PS 7 DUE |
4-19/20 Wed/Thu | Review | |
4-26 Wed | Final exam
10:30 am - 12:30 pm Science Engineering Complex 102 |