|
|
University of Auckland Department of Computer Science
Courses COMPSCI 220 SC Lectures | Web Site Map |
Lectures
| Times: Tuesday, Thursday, Friday 4pm |
| Place: MLT1 (Maths/Physics building) |
There will be 11 lectures in each section. The lecture to be cancelled
will be announced by the lecturer.
Lecture notes/slides
The lecture material closely follows the required textbook:
An Introduction to
Algorithms, Data Structures and Formal Languages
by M.J. Dinneen, G. Gimel'farb and M.C. Wilson (Pearson NZ).
Reporting
new
errors will earn you a small bonus for your course grade.
Nevil's Lectures
-
Lecture slides are available. They are
constantly under development.
- Below is an approximate lecture schedule. We will not cover all topics in
the textbook Section A, but will stick to the book quite closely. Please read
the corresponding sections in the textbook before lectures, and bring the book
to class.
- What is algorithm analysis? Motivating examples.
- Estimating running time of simple algorithms. Why we measure running time
asymptotically.
- Techniques for using asymptotic notation.
- The problem of sorting.
Quadratic time sorting methods.
- Recursive sorting methods: Mergesort, Quicksort. Some useful recurrences
and elementary methods of solution.
- Quicksort.
- Heapsort. Selection. Lower bound on comparison-based sorting complexity.
- The problem of searching. Table ADT. Binary search. Binary search trees.
- Hashing.
- Selected topic/overflow.
- Selected topics/overflow.
Michael Dinneen's Lectures
- Lecture slides are available in interactive
form and handout form.
- Below is an approximate lecture schedule. Please read the
corresponding sections in the textbook before lectures.
- Basic graph definitions.
- Graph ADT (data structures) and their implementations.
- Graph traversals.
- BFS and DFS details. Priority-first search.
- Acyclic digraph. Topological ordering.
- Graph connectivity.
- Girth. Bipartite graphs. Graph coloring.
- Weighted digraphs. Distance and diameter.
- Single-source shortest path problem.
- All-pairs shortest path problem.
- Minimum spanning tree problems.
- Hard graph problems. Overflow and review.
Cris Calude's Lectures
Lecture slides
are available at Cris'
local 220 page.
Below is an approximate lecture schedule. Please read the
corresponding sections in the textbook before lectures.
- Introduction to finite state machines.
- DFA and languages accepted.
- Properties of DFAs and regular languages.
- More examples of DFA.
- The idea of nondeterminism.
- Properties of NFA.
- L(NFA) = L(DFA) = regular languages.
- Examples of NFA.
- Minimizing automata.
- Patern matching.
- Review.
|