The course is an introduction to the design and analysis of efficient algorithms, with emphasis on developing techniques for the design and rigorous analysis of algorithms rather than on implementation. Algorithmic problems include sorting and searching, discrete optimization, and algorithmic graph theory. Design techniques include divide-and-conquer methods, dynamic programming, greedy methods, graph search, as well as the design of efficient data structures. Methods of algorithm analysis include asymptotic notation, evaluation of recurrences, and the concepts of polynomial-time algorithms. NP-completeness is introduced at the end the course.
Students who complete the course will have demonstrated the ability to use divide-and-conquer methods, dynamic programming methods, and greedy methods, when an algorithmic design problem calls for such a method. They will have learned the design strategies employed by the major sorting algorithms and the major graph algorithms, and will have demonstrated the ability to use these design strategies or modify such algorithms to solve algorithm problems when appropriate. They will have derived and solved recurrences describing the performance of divide-and-conquer algorithms, have analyzed the time and space complexity of dynamic programming algorithms, and have analyzed the efficiency of the major graph algorithms, using asymptotic analysis.
Topics covered include: sorting and searching; divide-and-conquer; dynamic programming; graph search; shortest paths; optimal spanning trees; NP-complete problems; hashing and cryptography, time permitting.
Lectures: Students are responsible for all material presented in lectures. Class participation is encouraged.
Discussion sessions: Weekly discussion sessions are held on Saturdays. Students are responsible for all material covered at the discussion sessions.
Homework: Weekly homework assignments are assigned after class and due the following week at the beginning of class.
Exams: There are four quizzes (weeks 4, 5, 9, and 10), a midterm exam (week 6), and a final exam (week 11). There will be no make-up exams.
The course grade will be based on homework and exams:
Quizzes: 20% (5% for each of 4 quizzes).
Introduction to Algorithms (Third Edition) by T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein (ISBN 978-0-262-03384-8).
Completion of MPCS 50101 (or programming waiver) and MPCS 50103 (or math waiver) or consent of the instructor.