CS 3401 – Algorithm Design and Analysis
Course map¶
One row per chapter. Open the chapter page for what you will learn and for the slides, which you can read on the page, present full screen or download.
| # | Chapter | Main topics | Slides | Worked examples |
|---|---|---|---|---|
| 1 | Introduction | What an algorithm is, correctness, efficiency, the design techniques | 28 | |
| 2 | Algorithm Analysis | O, Ω and Θ, analysing loops, recurrences | 25 | Maximum subsequence sum, Exponentiation |
| 3 | Brute Force and Exhaustive Search | Brute-force sorting and string matching, closest pair, TSP, knapsack | 21 | Convex hull |
| 4 | Decrease & Conquer and Divide & Conquer | Insertion sort, topological sorting, quickselect, mergesort, quicksort | 36 | Subsets, Permutations |
| 5 | Transform and Conquer | Presorting, AVL trees, 2-3 trees, heaps and heapsort, problem reduction | 103 | |
| 6 | Dynamic Programming | Coin problems, 0-1 knapsack, optimal BSTs, Warshall and Floyd | 61 | |
| 7 | Greedy Algorithms | Activity selection, Prim, Kruskal, Dijkstra, Huffman coding | 51 |
Student projects¶
Course description¶
This course introduces formal techniques to support the design and analysis of algorithms, focusing on both the underlying mathematical theory and practical considerations of efficiency. Topics include correctness of algorithms, asymptotic notation, recurrences and Master theorem, divide and conquer, transform and conquer (Balanced Trees), time-space trade-offs, median and order statistics, searching and sorting algorithms, dynamic programming, greedy algorithms, randomized algorithms, recursive backtracking, computational geometry, string matching. Optional material: NP-completeness, competitive analysis, branch-and-bound, amortized analysis and approximation algorithms.
Course requirements¶
Pre-requisite: CS2311 – Data Structures
Credit Hours: 3 CHs
Contact Hours: (3 hours lecture)
Textbook¶
Title: “Introduction to the Design and Analysis of Algorithms”
Author: Anany V. Levitin
Publisher: Pearson 2011
Year/Edition: 2011