Stanford University, Winter 2023
Instructors: Nima Anari and Moses Charikar
Time: Mon & Wed 9:30 am - 10:50 am
Location: NVIDIA Auditorium
Course Description: This course will cover the basic approaches and mindsets for analyzing and designing algorithms and data structures. Topics include the following: Worst and average case analysis. Recurrences and asymptotics. Efficient algorithms for sorting, searching, and selection. Data structures: binary search trees, heaps, hash tables. Algorithm design techniques: divide-and-conquer, dynamic programming, greedy algorithms, amortized analysis, and randomization. Algorithms for fundamental graph problems: minimum-cost spanning tree, connected components, topological sort, and shortest paths. Possible additional topics: network flow and string searching.
Prerequisites: CS 106B or CS 106X; CS 103 or CS 103B; CS 109 or STATS 116.
Course Grade: The course grade will be based on the following components.
- 8 Homework assignments: 50% (that is 7.143% per homework, see below)
- The lowest homework score will be dropped, so each of your 7 graded homework assignments comprises 7.143% of the course grade.
- Midterm exam: 20%
- Final exam: 30%