CS5206: Foundations in Algorithms
School of Computing, National University of Singapore
(Fall Sememster 2010)
Tentative Lectures Schedule and Lecture Notes
Tentative
Schedule of Lectures
Week 0: 03-Aug-2010 -- No Course Briefing
Read Course Overview yourself --
Overview (ppt)
Week 1: 10-Aug-2010 -- L01: Algorithms as Technology, Stable Marriage Problem, Five Sample Problems
Lecture 1 [Algorithms] (ppt)
Stable Marriage Problem (ppt)
||
animated demo (ppt)
||
Week 2: 17-Aug-2010 -- L02: Analysis of Algorithms, Quicksort, Divide and Conquer, Master Theorem
Lecture 2 Outline (ppt)
Analysis of Algorithms (ppt)
--- (
Quick Revision
)
Quicksort (from CLRS) (ppt)
--- (
Quick Revision
)
Analysis of Randomized Quicksort (ppt)
Divide and Conquer
--- (
Quick Revision
)
animated demo mergesort (ppt)
||
animated demo merge-inversion (ppt)
||
Review Master Theorem
--- (
Quick Revision
)
Optional References:
Asymptotics (pdf)
-- (Self Study)
Week 3: 24-Aug-2010 -- L03:
Greedy Algorithm
: Interval Scheduling, Shortest Path Algorithms, MST, 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 4: 31-Aug-2010 -- L04:
Dynamic Programming Algorithms
:
Lecture 4 Outline (ppt)
Dynamic Programming (ppt)
Dynamic Programming [CLRS] (ppt)
Week 5: 07-Sep-2010 -- L05:
Data Structures
: Abstraction in Problem Solving, Augmenting DS, LEDA, Binomial Heaps
Lecture 5 Outline (ppt)
Abstraction in PS, Augmenting DS (ppt)
LEDA Introduction (ppt)
Binomial Heaps (ppt)
Week 6: 14-Sep-2010 -- L06: Amortized Complexity, F-Heaps
Lecture 6 Outline (pdf)
||
6-on-1 format (pdf)
||
Amortized Analysis (pdf)
||
6-on-1 format (pdf)
||
Dynamic Tables (pdf)
||
6-on-1 format (pdf)
||
Fibonacci Heaps (pdf)
||
6-on-1 format (pdf)
||
For
fun
! --
Fibonacci Numbers
||
Week B: 21-Sep-2010 -- ** BREAK ** ** BREAK **
Week 7: 28-Sep-2010 -- L07: DNSRA Project, Problem Reduction
Lecture 7 Outline (pdf)
||
2-on-1 format (pdf)
||
Problem Reduction (pdf)
6-on-1 format (pdf)
Proj DNSRA (pdf)
||
6-on-1 format (pdf)
||
Week 8: 06-Oct-2010 -- L08: NP-Completeness, Proving NP-Completeness
P, NP, and NPC (pdf)
||
4-on-1 format (pdf)
||
Proving NPC (pdf)
||
4-on-1 format (pdf)
||
longest-path-song (mp3)
||
More NPC Reductions (ppt)
||
For
fun
! --
P-NP and TV (Simpsons-Futurama)
||
Week 9: 12-Oct-2010 -- L09: Cook's Theorem, Approximation Algorithms
Cook-Levin Theorem (pdf)
||
4-on-1 format (pdf)
-- SAT is NPC! ||
Approximation Algorithm (ppt)
||
demo (list scheduling)
||
For
fun
! --
Bin Packing 2-Approximation (pdf)
||
Week 10: 19-Oct-2010 -- L10: Approximation Algorithms and Network Flows
Lecture 10 Outline (ppt)
Approximation Algorithm [continued from Week 09]
Network Flows (ppt)
||
Demo (ppt)
||
Week 11: 26-Oct-2010 -- L11: Network Flows and Maximum Matching
Lecture 11 Outline (ppt)
Network Flows [continued from Week 10]
Maximum Matching and Appl of Max-Flow (ppt)
||
Optional
References: ||
KT06-C7.13 Assignment Problem (ppt) (optional)
||
Week 12: 02-Nov-2010 -- L12: Graph Partitioning and BAP Case Study
Lecture 12 Outline (ppt)
Graph Partitioning (pdf)
||
4-on-1 format (pdf)
||
KL Example (pdf)
||
Berth Allocation Planning (pdf)
||
Cover Story in Innovation Magazine, Vol 6, No. 1
Papers to read: ||
Kernighan and Lin, 1970 (pdf)
||
Fun Optional Readings
! --
||
Fiduccia and Matheyses, 1982 (pdf)
||
on GAP Problem (from ACM-ICPC)
||
Week 13: 09-Nov-2010 -- L13:
Local Search Algorithms
Local Search Algorithms (pdf)
||
4-on-1 format (pdf)
||
Optional
References: ||
KT06-C12-slides (ppt) (optional)
||
Optional Paper References: ||
Simulated Annealing (Kirkpatrick, Gelatt, Veechi, 1983) (pdf)
||
Course Summary (ppt)
-- Topics Covered in Final -- NEW!
STUDY WEEK: Project Presentation / Demo
Week E2: 30-Nov-2010 [Tue] -- Final Exam (OPEN BOOK) PM
CS5206 (Fall 2010) Lectures Page
CS5206 (Fall 2010) Home Page