ICS 311 Algorithms (4 credits) Design and correctness of algorithms, including divide-and-conquer, greedy and dynamic programming methods. Complexity analyses using recurrence relations, probabilistic methods, and NP-completeness. Applications to order statistics, disjoint sets, B-trees and balanced trees, graphs, network flows, and string matching. Prerequisites: ICS 211 and ICS 241, or consent.
(Our practice is to not admit without a passing grade in 211 and 241.)
Students will develop an ability to apply mathematical foundations, algorithmic principles, and computer science theory to the modeling and design of computer-based systems. Specifically:
Comment: On the fall 2013 final exam one student wrote about a problem:
“This question is too hard! We shouldn't have to know implementations we have not used before!”
This is exactly what this course is intended to teach! You may not “know” an implementation you have not encountered before, but this course should prepare you with the tools to analyze and make informed decisions about not only new implementations, but even new algorithms.
Do not approach this course solely as a memorization task, where you can only do algorithms you are trained to do, like a circus animal trained to do tricks! You will learn a “catalog” of algorithms, but you should also understand their analyses as examples that enable you to analyze unexpected algorithms in the future. This is essential for being successful in a fast changing field where you are expected to figure out whether a new idea will work, as you will be the computer scientist hired to do this.
Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein, Introduction to Algorithms, Third Edition, The MIT Press, 2009.
This textbook will be referenced as CLRS after the authors.
Students are advised to purchase the textbook, as this book will serve as a lifelong reference.
It is the second most cited publication in computer science!
Other reading material will also be provided.
Students are also advised to keep their ICS 241 (Discrete Mathematics for Computer Science) textbooks for reference.
The official hours are:
Since Sean Takafuji is an experienced ICS 311 student, you may find it preferable to use his Open Labs hours.
We use the course website dynamics.org/ICS/311/ for posting schedules and notes.
We use Laulima for all other online required course functions such as podcasts, quizzes, discussions and submitting assignments. Please see this document on everything Laulima users should know.
We will use Google Docs for in-class problem solving, as it supports simultaneous editing. Please plan on bringing a laptop or tablet to class, and ensure that you are familiar with Google Docs.
Screencasts (videos) of lectures are available on YouTube as well as Laulima (your choice). They are linked from the individual Notes pages (the pages named Topic-XX.html on the www2 web site above), and can also be found in the Resources/Podcasts folder in Laulima.