Official Course Description. The primary goal of this course is to build on the programming skills gained in CS 141 and 142 to introduce students to more sophisticated algorithms and data structures and the notion of algorithm design. The course also introduces the basic formalism and concepts used in the analysis of algorithms. The relative efficiency of the algorithms studied is estimated by informal application of these ideas. The algorithms and data structures discussed include those for sorting and searching, pattern matching, set representation, graph problems, dynamic programming and others. Programming exercises based on "realistic" applications help students to understand the often difficult process of reducing a real-world problem to a standard algorithmic question.
Pre and corequisites. Prerequisite: CS142 (or EE363). Corequisite: MA211 or MA346.
Location and Times. Science Center 362, TuTh 11:00-12:30.
Instructor. Alexis Maciel
Office: Science Center 379
Office Hours. M 2:30-4:00, Tu 10:00-11:00, W 10:00-11:30, Th 4:00-5:00.
Teaching Assistant. Vineet Raghavan. Science Center 450, 268-2339, email@example.com. Office Hours: M 10-12 (in the SC334 lab), W 1:30-3:30 (lab), F 3-4 (office).
Topics to be covered. Algorithm analysis, sorting, the STL, trees, binary search trees, balanced trees, hash tables, priority queues (heaps), and, as time permits, a selection of graph algorithms, of algorithm design techniques, and the P vs NP question.
Grading. You will be evaluated based on several homework assignments (which will likely be mostly programming assignments), two tests and a final exam. Your course grade will be computed using the following formula:
If you do better on the final exam than on one of your tests, your lowest test grade will be replaced by your final exam grade. Essentially, this allows you to make up for one bad test. Tentative dates for the tests are: February 13 and March 25. All students are required to write the final exam (no exemptions).
Policy for missed work. There will be no make-up assignments. Late assignments may be accepted if a good excuse is provided and if arrangements are made at a reasonable time, in advance, if possible. Make-up tests can be arranged under the same conditions. Other special arrangements can be made for students forced to miss more than a few days of class.