Some of the skills that you will develop in this course may be quite new to you, and different from things you have done in previous courses. This is good: it means you're learning new and (I hope) exciting things. However, it means that you will need practice to master them. Just participating in classes isn't enough. There are suggested exercises from the textbook. Web pages for this course in previous terms also include many more problems to work on. The books listed below under "Additional Resources" include more exercises. Do lots.
You learn by struggling with problems. However, if you get too stuck or don't know how to begin, help is available. Talk to your classmates. Go to office hours; the instructor and TA are there to help you! You also learn by making mistakes and getting feedback about them. Just make sure that you use the feedback to improve your understanding. AI and the web can also be useful but don't become overly reliant on these aids; it is important to develop your own, independent skills too. (Ideally, you would use an AI model that is not very good, so that you have to learn to look at the answers it provides critically.)
Groups of students can learn a lot by explaining their solutions to the suggested exercises from the textbook to one another and critiquing the solutions of others. After all, learning how to explain solutions clearly is one of the learning objectives of this course. Seeing where other students' solutions are unclear to you helps you make your own explanations clearer. Be aware that a problem may have many different correct solutions; just because someone's solution is different from yours doesn't necessarily mean that one of them is wrong.
It takes time to build new skills, so it helps if you work on exercises regularly: don't leave all the work to the days right before a test.
It is important that you look at the senate policy on academic honesty and the faculty's academic integrity resources.
| 4 Quizzes, equally weighted | 30% |
| 2 Tests, equally weighted | 30% |
| Exam | 40% |
| First class | Wednesday, September 9 |
| Quiz 1 | Wednesday, September 23 |
| Quiz 2 | Wednesday, October 7 |
| Reading week (no classes) | October 12-16 |
| Test 1 | Wednesday, October 21 |
| Quiz 3 | Wednesday, November 4 |
| Last date to drop course without receiving a grade | Tuesday, November 10 |
| Test 2 | Wednesday, November 18 |
| Quiz 4 | Wednesday, December 2 |
| Last class | Monday, December 7 |
| Last date to withdraw from course (receiving W on transcript) | Tuesday, December 8 |
| Exam period | December 10-23 |
| Date | Topics | Reading in CLRS (4th ed) | Suggested questions, mostly from CLRS (4th ed) | Alternate reading in DPV |
| Sep 9 | Introduction | 1; optional supplementary reading: Boyer-Moore algorithm and notes on correctness | 1-1 | |
| Sep 9 | Proving loops correct. Two examples of multiplication algorithms. | 2.1, 2.2 | 2.1-2, 2.1-4, 2.1-5, 2.2-2, 2.2-4 | 1.1 |
| Sep 14 | Proving loops correct: binary search | Section 5.1 of Parberry's book | ||
| Sep 16 | Euclid's algorithm, recursive algorithms | 2.3, 31.2 up to Lame's Theorem | 31.2-8, 2.3-2, 2.3-3, 2.3-5 to 2.3-8 | 1.2.3 |
| Sep 16 | Review of asymptotic notation, examples of proofs of correctness | 3 | 3.2-1, 3.2-2, 3.2-3, 3.2-5, 3.3-8, 3-2 | 0.3 |
| Sep 21 | Proving recursive algorithms correct. Examples: repeated squaring, binary search | 2.3.1, p.934-935, | 2-3, Section 5.2 of Parberry's book | 1.2 up to end of 1.2.2, 2.3 |
| Sep 23 | Divide and Conquer | 4.0-4.2, time bound for fast multiplication | 4.1-3, 30-1 | 2.1 |
| Sep 28 | Analyzing divide-and-conquer algorithms | 4.3-4.5 | 4.3-1, 4.4-1, 4.5-1 | 2.2 |
| Sep 28 | Example of divide and conquer: Linear time selection | 9.1, 9.3 (and skim 9.2) | 9.1-1, 9.1-2, 9.1-3, 9.3-1, 9.3-6, 9.3-7, 9.3-8, 9.3-9, 9.3-10, 9-1 | 2.4 |
| Sep 28 | Finding the closest pair of points; Sorting lower bound | Section 33.4 (in chapter on Computational Geometry) from removed material, 8.1 | 33.4-1, 33.4-6 in removed material; 8.1-1, 8-6 | pp.52-53 |
| Sep 30 | Review of sorting techniques | pages 157-204 (this should be a review) | 6.1-1 to 6.1-6, 6.2-7, 6.4-2, 6.4-4, 6.5-7, 6-2, 7.2-4, 7.3-1, 7-1, 7-2 | |
| Sep 30 | Counting Sort, Radix Sort | 8.2, 8.3 | 8.2-1, 8.2-3, 8.2-5, 8.2-6, 8.2-7, 8.3-2, 8.3-4, 8.3-5, 8-2, 8-3 | |
| Oct 5 | Bucket sort | Use C.2, C.3 as references if you need to look up something about probability. 8.4 | 8.4-1, 8.4-2, 8.4-5 | |
| Oct 7 | One-dimensional Dynamic Programming (canoe rental, rod cutting) | 14.1 | 14.1-2, 14.1-3, 14.1-6, 14-4, 14-11 | 6.1, 6.2 |
| Oct 19 | Two-dimensional Dynamic Programming | 14.2-14.4 | 14.2-1, 14.2-3, 14.3-3, 14.3-4, 14-2 | 6.3, 6.4, 6.5 |
| Oct 21 | Examples of dynamic programming | 14.4-1, 14.4-5, 14.9 | 6.6 | |
| Oct 26 | All pairs shortest paths, including Floyd-Warshall algorithm | 23.1, 23.2 | 23.1-3, 23.1-7, 23.1-8, 23.2-4, 23.2-5 | pp.172-173 |
| Oct 28 | Greedy algorithms | 15.1, 15.2 | 15.1-2, 15.1-3, 15.1-4, 15.2-1, 15.2-4, 15.2-5 | |
| Nov 2 | Greedy algorithms, continued | 15.3, 15.4 | 15.4-1, 15.4-2, 15-2 | |
| Nov 4 | Graphs | 22.0 | 3.1 | |
| Nov 4 | Minimum Spanning Trees: Kruskal's Algorithm, Prim's algorithm | 20.1, 21 | 21.1-1, 21.1-6, 21.1-7, 21.2-2, 21.2-4, 21.2-5 | 5.1 up to 5.1.3, 5.1.5 |
| Nov 9 | Single-source shortest paths using Dijkstra's algorithm | 22.0, 22.3 | 22.3-2, 22.3-3, 22.3-5, 22.3-7, 22.3-9 | 4.3, 4.4, review 4.5 |
| Nov 11 | Graph Algorithms | 20.1, 20.2 | 20.1-1 to 20.1-6, 20.1-8, 20.2-2, 20.2-4, 20.2-6, 20.2-7 | 4.1, 4.2 |
| Nov 16 | Graph Algorithm | 20.3, 20.4 | 20.3-1, 20.3-2, 20.3-4, 20.3-7, 20.3-8, 20.3-10, 20.3-11, 20.4-2, 20.4-3, 20.4-5 | 3.2,3.3 |
| Nov 18 | Strongly connected components | 20.5 | 20.5-1, 20.5-3, 20.5-7 | 3.4 |
| Nov 23 | Maximum Flow | 24.1, 24.2 | 24.1-2, 24.1-6, 24.1-7, 24.2-2, 24-1 | |
| Nov 25 | Examples of solving problems using graph algorithms | |||
| Nov 30 | Quick introduction to linear progrmming | 29.0-29.2 | 29.1-1, 29.1-3, 29.1-5, 29.1-6, 29.1-7, 29.1-8, 29.2-2, 29.2-5 | 7.1, 7.3 |
| Dec 2 | Brief introduction to NP-completeness | 34.0-34.3 | 34.1-1, 34.1-5 | 8.1, 8.2 |

Updated November 1, 2026