ICS 311 Spring 2015 Topics


This gives a conceptual overview of how the topics are grouped and overall sequencing. The exact coverage and sequencing for a given semester may vary.

Part I: Introduction to Analysis

This section introduces algorithms as abstractions of programs, and motivates why we need to do analysis of algorithms rather than just run empirical tests of programs. It then introduces some mathematical and conceptual tools for doing analysis. Two useful sorting algorithms are used for illustration; we'll return to sorting later.

Part II: Data Structures for Dictionaries & Sets

In this section we introduce problem solving and analysis methods (chapters 3-5), some of which have been covered in ICS 241, and also review review basic data structures and algorithms (chapters 10-12) that were introduced in ICS 211. The chapters from the text are interleaved and paired up in a manner that uses the basic dictionary and set data structures and algorithms to illustrate the problem solving and analysis methods. Hopefully this is mostly review of the two prerequisite courses with some added depth.

Part III: Sorting and Balanced Trees

We continue into more advanced applications of trees (chapters 6 and 13), also providing the basis for another efficient sorting algorithm. We compare additional sorting algorithms to those from Chapter 2. Sorting is one of the most fundamental and common applications of computers, so efficiency is very important. We consider the broader question of how fast any sort algorithm can be. This is an example of a powerful method of computer science: reasoning about sets of possible algorithms rather than specific algorithms.

Part IV: Problem Solving and Analysis Methods

This part introduces two further problem solving methods, dynamic programming and greedy algorithms, with example applications. We then cover another important analytic method, amortization , with examples in the analysis of the union-find representation of sets. (Chronologically, #14 graphs will be introduced in this sequence to help you get started on a programming assignment, but conceptually they belong in the next section.)

Part V: Graphs

Graphs are a very flexible data structure for which many applications exist. Equipped with various problem solving and analytic tools, we examine the most important algorithms on graphs -- including some of the most classic work in computer science -- and their applications.

Part VI: Selected Topics

There are a number of other important or common application areas that have their own specialized algorithms of interest: multithreading (parallel algorithms), matrix operations, linear programming, operations on polynomials, number-theory, string matching, and computational geometry. These are covered in the text, but we can't fit them all in. At the instructor's discretion, some of these topics will be covered more lightly in class (no homework) Linear Programming fills out an area not covered well above (numeric algorithms), and also has interesting connections to previous material (e.g., you can solve flow problems with a linear program). Multithreading is important with today's multi-core and GPU machines, and string matching is central to many applications.

Part VII: Complexity Theory and NP-Completeness

Finally, abstracting further from algorithms to problems, we deal with the important question of whether an efficient algorithm is known (or even possible) for a given problem, and what to do if none are known. We encounter the most important open problem in theoretical computer science, which is also of practical interest because awareness of "intractable" problems and approximation algorithms could save you considerable trouble if you encounter one of these very common problems on the job! The seminal book on this topic by Garey & Johnson is the most cited reference in computer science.


Nodari Sitchinava (based on material by Dan Suthers)
Last modified: Sat Jan 10 03:11:59 HST 2015