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.
Instructor. James Lynch
Office: Science Center 381
Office Hours. M 2:30-4:00, Tu 10:00-11:00, W 10:00-11:30, Th 4:00-5:00.
Demonstrable outcomes. By the end of the semester,
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:
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.