|
Description. This course surveys the most important algorithms and data structures in use on computers today. Particular emphasis is given to algorithms for sorting, searching, and string processing. Fundamental algorithms in a number of other areas are covered as well, including geometric and graph algorithms. The course will concentrate on developing implementations, understanding their performance characteristics, and estimating their potential effectiveness in applications.
Prerequisites. COS 126, ISC 231-234, or approval by the COS placement officer.
Traditional lectures. Attendance is required. You are responsible for all material presented in lecture; some of that material is not covered in the textbook.
Flipped lectures. As an alternative to traditional lectures, we are offering a flipped lecture option, in which you watch and tag video lectures online before class and solve problems in class. Enrollment is limited to 30 students.
Precepts. We cover details pertinent to programming assignments and exams. You should come to precept prepared to participate in the discussion, not just ask questions.
Course staff. You are welcome to attend the office hours of any staff member. Office hours begin Friday, September 12.
TIME | ROOM | PERSON | OFFICE | HOURS | |
---|---|---|---|---|---|
L01 | T Th 11–12:20pm |
Friend 101 |
Kevin Wayne |
CS 207 |
T 2:30–3:30pm F 3–4pm |
L02 | T Th 11–12:20pm |
Sherrerd 001 |
Andy Guna |
221 Nassau St. Room 103 |
T 1:30–2:30pm F 10–11am |
P01 | F 9–9:50am |
Friend 108 |
Andy Guna |
221 Nassau St. Room 103 |
T 1:30–2:30pm F 10–11am |
P02 | F 10–10:50am |
Friend 108 |
Jérémie Lumbroso |
CS 209 |
T 5:30–7:30pm |
P03 | F 11–11:50am |
Friend 109 |
Josh Wetzel |
Icahn 253 |
M 1:30–3:30pm |
P03A | F 11–11:50am |
Friend 108 |
Jérémie Lumbroso |
CS 209 |
T 5:30–7:30pm |
P04 | F 12:30–1:20pm |
Friend 108 |
Robert MacDavid |
221 Nassau St. Conference Room |
M 5:30–7:30pm |
P04A | F 12:30–1:20pm |
Friend 109 |
Shivam Agarwal |
221 Nassau St. Conference Room |
W 5:30–7:30pm |
Online forum.
If you have questions about the assignments, lectures, textbook, or other
course materials, please post via
Piazza. Posts marked private are viewable only by the course staff.
Grading. Your grade for the course will be based on the following components: programming assignments (45%), midterm exam (15%), final exam (30%), exercises (10%), and staff discretion (including participating in precept, preparing for and contributing to the flipped lecture, answering forum posts, and reporting errata). Occasionally, we make mistakes. To request a regrade, write a brief note indicating the perceived mistake by the grader; attach it to your graded work; and give it to your preceptor within two weeks of when the graded work was returned.
Course website. The course website
http://www.princeton.edu/~cos226includes links to course content, including programming assignments, exercises, lecture slides, and old exams. You will also use it to submit programming assignments.
Readings. The following textbook is required. It contains a wealth of information beyond what we can cover in lecture; it is certain to enhance your understanding of algorithms and data structures.
Programming assignments. The programming assignments involve applying the material from lecture to solve problems in science, engineering, and commerce.
Exercises. The exercises consist of short drill questions on the material in the lectures and readings.
Exams. The in-class midterm exam is Tuesday, October 21 (in either Friend 101 or CS 105, as directed). The final exam is 9am on Tuesday, January 20 in McDonnell Hall A02.
Computers. You may develop your programs on any machine that you like: we encourage you to use your own equipment. We provide instructions for setting up a Java programming environment under Windows, Mac OS X, and Linux.
Laboratories. Undergraduate lab TAs are available to answer general computing questions in the Friend 017 lab. They can assist you in debugging, provided you have first made a reasonable effort to identify the bug and isolate the problem. If you have questions regarding the course material or programming assignments, see your preceptor or instructor.
Undergraduate graders. Undergraduate course assistants (Bumsoo Kim, Sara Sun, Varun Narayan, and Thomas Hansen) assist with the grading of course work. If you have questions regarding the grading of course work, see your preceptor or instructor.