Here you can view or download the notes (postscript or pdf files) that we use in class. DO NOT depend solely on these notes as many details are missing. You should read the textbook and take notes in class.
Date | Topics | Files | Reading | |
Introduction and Review. | Sept 02 | Introduction and Review | ps pdf | Chapter 1.1-4.2 |
Divide and Conquer. | Sept 04 | Maximum contiguous subarray problem | ||
Sept 04 | Polynomial multiplication | |||
Sept 09 | Randomized selection and randomized quicksort | Chapter 7 | ||
Sept 11 | Deterministic linear-time selection | Chapter 9.2, 9.3 | ||
Graph Algorithms. | Sept 16, Sept 18 | Depth-first search and its applications | Chapter 22.3 | |
Sept 18, Sept 23 | Minimum spanning tree and Prim's algorithm | Chapter 23 | ||
Sept 25 | Kruskal's algorithm | Chapter 23 | ||
Sept 25 | Disjoint set union and find | Chapter 21.3 | ||
Sept 30 | Dijktra's algorithm | Chapter 24.3 | ||
Dynamic Programming. | Oct 02, Oct 07 | 0-1 Knapsack | ||
Oct 09 | Matrix chain multiplication | Chapter 15.2, 15.3 | ||
Oct 14, Oct 16 | All-pairs shortest paths | Chapter 25.1, 25.2 | ||
Greedy Algorithms. | Oct 21 | Fractional Knapsack | Chapter 16.2 | |
Oct 23, Oct 28 | Huffman coding | Chapter 16.3 | ||
More Algorithms. | Oct 30, Nov 04 | String Matching | Chapter 32.1, 32.4 | |
NP-completeness. | Nov 06, Nov 11, Nov 13 | Introduction to NP | Chapter 34.1, 34.2 | |
Nov 18, Nov 20, Nov 25 | Polynomial time reduction | Chapter 34.3, 34.5 | ||
Nov 27, Dec 2 | Approximate algorithms | Chapter 35.1, 35.2 |