The midterm covers material in Lectures 1-8.
Here are some practice exams. These are from previous quarters, so we may not cover exactly the same material or have exactly the same emphasis. In particular we will not be covering graph stuff on our midterm this quarter.
The midterm, with solutions, is here.
The final covers Lecture 1-17. It is cumulative, with an emphasis on Lectures 9-15. (After the midterm, before the final HW). Expect the format to be very similar to that of the midterm.
Here are some practice exams. These are from previous quarters, so we may not cover exactly the same material or have exactly the same emphasis.
The final, with solutions, is here.