CS5206: Foundations in Algorithms
School of Computing, National University of Singapore
(Fall Sememster 2011)
Tentative Lectures Schedule and Lecture Notes
Tentative
Schedule of Lectures
Week 1: 08-Aug-2011 -- No lectures
Read this article --
Cattywampus
first!
Read Course Overview here --
CS5206 Overview (ppt)
Read also Homework 1 --
here
Week 2: 15-Aug-2011 -- L01: Course Admin, Algorithms as Technology, Stable Marriage Problem, Five Sample Problems
READINGS: [KT-06]-Ch1, Ch2, [CLRS]-Ch4,
CS5206 Overview (ppt)
-- read this before CLASS.
Lecture 1 [Algorithms] (ppt)
Stable Marriage Problem (ppt)
||
animated demo (ppt)
||
Review Asymptotics (pdf)
-- (Self Study) [CLRS]-Ch4
Week 3: 22-Aug-2011 -- L02: Analysis of Algorithms, Quicksort, Divide and Conquer, Master Theorem
READINGS: [KT-06]-Ch2,Ch5,Ch13.5; [CLRS]-Ch4,Ch7(Quicksort)
Lecture 2 Outline (ppt)
Analysis of Algorithms (ppt)
--- (
Quick Revision
)
Quicksort (from CLRS) (ppt)
--- (
Quick Revision
)
Analysis of Randomized Quicksort (ppt)
Divide and Conquer
--- (
Self Revision
)
animated demo mergesort (ppt)
||
animated demo merge-inversion (ppt)
||
Review Master Theorem
--- (
Quick Revision
)
Week 4: 29-Aug-2011 -- L03:
Greedy Algorithm
: Interval Scheduling, Shortest Path & MST Algorithms, Heaps
Lecture 3 Outline (ppt)
Interval-Scheduling Problem (ppt)
||
demo (ppt)
||
Shortest Path Algorithm (ppt)
||
demo of dijkstra (ppt)
Minimum Spanning Tree (ppt)
Priority Queues (ppt)
||
Week 5: 05-Sep-2011 -- L04:
Dynamic Programming Algorithms
[Guest Lecture ?]
Guest Lecturer: Melvin Zhang (expert in DP)
Lecture 4 Outline [Melvin] (pdf)
Lecture 4 Outline (ppt)
Dynamic Programming (ppt)
Dynamic Programming [CLRS] (ppt)
If there is time, may talk about DNSRA project too.
Week 6: 12-Sep-2011 -- L05: Heaps and Binomial Heaps, LEDA;
Lecture 5 Outline (ppt)
Abstraction in PS, Augmenting DS (ppt) [RIY]
LEDA Introduction (ppt)
Binomial Heaps (ppt)
Week B: 19-Sep-2011 -- L06: Amortized Complexity
(
Note:
This replaces Week 1 lecture)
Lecture 6 Outline (pdf)
||
4-on-1 format (pdf)
||
Amortized Analysis (pdf)
||
4-on-1 format (pdf)
||
Dynamic Tables (pdf)
||
4-on-1 format (pdf)
||
Week 7: 26-Sep-2011 --
MID-TERM, Mon, 7:00-9:00pm (in class)
Week 8: 03-Oct-2011 -- L07: F-Heap, DNSRA Project
Lecture 7 Outline (pdf)
||
4-on-1 format (pdf)
||
Proj DNSRA (pdf)
||
4-on-1 format (pdf)
||
Fibonacci Heaps (pdf)
||
4-on-1 format (pdf)
||
For
fun
! --
Fibonacci Numbers (pdf)
||
Week 9: 10-Oct-2011 -- L08: Problem Reduction, P, NP, NP-Completeness,
Lecture 8 Outline (pdf)
||
4-on-1 format (pdf)
||
Problem Reduction (pdf)
4-on-1 format (pdf)
P, NP, and NPC (pdf)
||
4-on-1 format (pdf)
||
Week 10: 17-Oct-2011 -- L09: Proving NP-Completeness,
Lecture 9 Outline (pdf)
||
4-on-1 format (pdf)
||
Proving NPC (pdf)
||
4-on-1 format (pdf)
||
longest-path-song (mp3)
||
More NPC Reductions (pdf)
||
4-on-1 format (pdf)
||
For
fun
! --
P-NP and TV (Simpsons-Futurama)
||
Week 11: 24-Oct-2011 -- L10: Cook's Theorem, Approximation Algorithms
Lecture 10 Outline (pdf)
||
4-on-1 format (pdf)
||
Cook-Levin Theorem (pdf)
||
4-on-1 format (pdf)
-- SAT is NPC!
Approximation Algorithm (pdf)
||
4-on-1 format (pdf)
||
demo (list scheduling)
||
For
fun
! --
Bin Packing 2-Approximation (pdf)
||
Week 12: 31-Oct-2011 -- L11: Approx. Algorithms, Network Flows
Lecture 11 Outline (pdf)
||
4-on-1 format (pdf)
||
Approximation Algorithms (continued)
Network Flows (pdf)
||
4-on-1 format (pdf)
||
Demo (ppt)
||
Week 13: 07-Nov-2011 (public holiday) -- L12: Appl of Network Flows
Lecture 12 Outline (pdf)
||
4-on-1 format (pdf)
||
Maximum Matching and Appl of Max-Flow (pdf)
||
4-on-1 format (pdf)
||
Optional
References: ||
KT06-C7.13 Assignment Problem (pdft) (optional)
||
4-on-1 format (pdf)
||
STUDY WEEK: 16-Nov-2011 (Wed) -- Project Presentation / Demo
Week E2: 29-Nov-2011 [Tue] -- Final Exam (OPEN BOOK) AM
CS5206 (Fall 2011) Lectures Page
CS5206 (Fall 2011) Home Page