CSE 565 Algorithm Design and Analysis, Fall 2007

Welcome to the course web page for CSE 565!

Course Staff

Office Phone Email @cse.psu.edu Office Hours
Prof. Sofya Raskhodnikova IST 343F x3-0608 sofya Mon 3--5pm (canceled on 10/19)
T.A. Peiyou Song IST 343D x3-7324 psong Tue 1--2pm, Fri 1--2pm

Announcements

Aug 27
Homework 1 is posted (below). Sofya's office hours changed to Monday.

Aug 31
Pseudocode conventions from a different textbood are posted on Angel.

Aug 31
Propose-and-reject pseudocode posted, together with instructions on how to typeset it in Latex. I strongly recommend that you learn latex and use it to write your homework solutions. However, the only time it will be required is when you are providing the official solutions for the course.

Sep 10
Peiyou's office hours on Friday changed to 1pm--2pm.

Sep 10
If you are taking a qualifier this week, you can get an extension on problems 3 and 4 on homework 2 until Monday, Sep 17, 11am. If you'd like to get this extension, please make sure Peiyou has recorded your name and the qualifier you are taking by the due time of homework 2. Please do not take advantage of this unless absolutely necessary, so that you do not get behind: homework 3 will be due on Wednesday next week, as usual.

Sep 10
Solutions to homework 1 have been posted on Angel.

Sep 20
Solutions to homework 2 have been posted on Angel.

Sep 25
Solutions to homework 3 have been posted on Angel.

Oct 16
Solutions to homework 5 have been posted on Angel.

Oct 16
Sofya will be away for a week from 12:30pm Oct 17 to early morning of Oct 24. Prof. Martin Furer generously agreed to take your questions at his office hours MWF4-5pm in IST 346F that week.

Tentative Schedule and Handouts

Lec.DateHandoutsTopicsReadingHomework and exams
1Mon, Aug 27General Course Information, Lecture 1 NotesIntroduction. Why study algorithms?Chapter 1.1Angel: (1) survey, (2) post a RECOGNIZABLE photo of your face
2Wed, Aug 29Hw 1 (in latex), Lecture 2 NotesStable Matching ProblemChapter 1.2Hw 1 out
3Fri, Aug 31Demo of Propose-and-Reject Algorithm, Lecture 3 Notes, Propose-and-reject pseudocode: PDF, latexAnalysis of Propose-and-Reject; Review of Asymptotic Notation Chapters 2.1--2.4
Mon, Sep 3 Labor Day (no class)
4Wed, Sep 5Hw 2 (in latex)Graph Representation. Graph traversal: BFS,DFSChapter 3Hw 1 due; Hw 2 out
5Fri, Sep 7Lecture Notes on DFS, provided by Piotr Berman. Animation works ONLY if viewed using gv.Guest lecture by Piotr Berman. Applications of DFS: topological sort; articulation points and biconnected components.Chapter 3
6Mon, Sep 10Demo of Interval Scheduling Algorithm, Lecture 6 NotesGreedy Algorithms. Interval Scheduling and Interval Partitioning Problems. Greedy Analysis: Greedy Stays Ahead; Structural Argument.Chapter 4.1, review (1) priority queues: Chapter 2.5 and (2) sorting
7Wed, Sep 12Lecture 7 Notes; Hw 3 (in latex)Greedy Analysis: An Exchange ArgumentChapters 4.2-4.3Hw 2 due; Hw 3 out
8Fri, Sep 14Lecture 8 NotesGreedy Graph Algorithms: Sortest Paths (Dijkstra) and MST (Prim, Kruskal, Reverse-Delete)Chapter 4.4-4.5
9Mon, Sep 17Lecture 9 NotesImplementing Prim and Kruskal. Union-Find Data Structure. Clustering.Chapter 4.5-4.7
10 Wed, Sep 19Lecture 10 Notes, Demo of Mergesort, Demo of Counting Inversions; Hw 4 (in latex)Divide and Conquer: Mergesort, Counting Inversions, Binary Search. Recursion Tree Method. Ch. 5.1-5.3Hw 3 due; Hw 4 out
11Fri, Sep 21Lecture 11 NotesExponentiation. Master Theorem.
12Mon, Sep 24Exam 1 AnnouncementReview.
13Wed, Sep 26Lecture 13 NotesFinding the Closest Pair of Points.Chapter 5.4Hw 4 due
14Fri, Sep 28Lecture 14 NotesMedian and Order Statistics.Midterm: 8:15-10:15pm, 158 Willard
15Mon, Oct 1Lecture 15 NotesKaratsuba's algorithm for integer multiplicatiplication. Strassen's algorithm for matrix multiplication.Chapter 5.5
16Wed, Oct 3 Hw 5 (in latex)Midterm follow up. Hw 5 out
17Fri, Oct 5Lecture 17 and 18 Notes on FFTFFTChapter 5.6
18Mon, Oct 8Lecture 18--20 Notes on WISFFT (continued). Dynamic programming.Chapter 6.1
19Wed, Oct 10Hw 6 (in latex)Dynamic programming: Weighted Interval Scheduling. Review questions on Strassen and recursion trees.Chapter 6.2Hw 5 due; Hw 6 out
20Fri, Oct 12Lecture 20 notes on LCSDynamic Programming: WIS (continued), Longest Common SubsequenceChapter 6.6
21Mon, Oct 15Lecture 21 notesDynamic Programming: KnapsackChapter 6.4
22Wed, Oct 17Hw 7 (in latex), Lecture 22 notes Dynamic Programming: RNA Secondary Structure Chapter 6.5Hw 6 due; Hw 7 out
23Fri, Oct 19Guest lecture by Martin Furer. Dynamic Programming: shortest paths (Bellman-Ford)Chapters 6.8-6.10
24Mon, Oct 22Lectures 23 adn 24 notesGuest lecture by Martin Furer. Dynamic Programming
25Wed, Oct 24Hw 8 (in latex)Network flow: max flow and min cutChapter 7.1Hw 7 due; Hw 8 out
26Fri, Oct 26Lectures 25 and 26 notesFord-Fulkerson AlgorithmChapter 7.2
27Mon, Oct 29Lecture 27 notesChoosing good augmenting pathsChapter 7.3
28Wed, Oct 31Review Hw 8 due
29Fri, Nov 2Lecture 29 notesReview + Maximum MatchingChapter 7.5Midterm: 8:15-10:15pm, 158 Willard
30Mon, Nov 5Maximum MatchingChapter 7.6
31Wed, Nov 7Lectures 31, 32 notes, Hw 9 (in latex)Edge-Disjoint Paths; Extensions of Max FlowChapter 7.7Hw 9 out
32Fri, Nov 9Extensions of Max FlowChapter 7.8
33Mon, Nov 12Lectures 33, 34 notesApplications of Max FlowChapters 7.9-7.10
34Wed, Nov 14Applications of Max FlowChapters 7.11-7.12Hw 9 due
35Fri, Nov 16Lectures 35, 36 notes, Hw 10 (in latex)Computational Intractability: Polynomial Time Reductions, Decision vs. Search ProblemsChapter 8.1Hw 10 out
Nov 19--23 Happy Thanksgiving Holiday!
36Mon, Nov 26Polynomial Time Reductions: Basic Techniques. Self-ReducibilityChapter 8.2
37Wed, Nov 28Lecture 37 notes, Hw 11 (in latex)Computational intractability. Classes P and NP. NP-completenessChapters 8.3, 8.4Hw 10 due; Hw 11 out
38Fri, Nov 30Lectures 38 and 39 (first half) notesExtending the limits of tractability. Finding Small Vertex Covers.Chapters 10.1-10.2
39Mon, Dec 3Lectures 39 (second half) and 40 notesExtending the limits of tractability: Solving NP-hard graph problems on trees. Approximation algorithmsChapter 11.1
40Wed, Dec 5Hw 12 (in latex) SRTE. Approximation Algorithms: Load balancing.Review basic probabilityHw 11 due; Hw 12 out
41Fri, Dec 7Lecture 41 notesThe pricing method: Vertex CoverChapter 11.4
42Mon, Dec 10Lecture 42 notes + notes on Linearity of ExpectationRandomized Algorithms: Contention Resolution, Global Min CutChapters 13.1-13.3
43Wed, Dec 12Hw 12 due
44Fri, Dec 14
Mon, Dec 17Final exam: 4:40-6:30pm, 201 Thomas

Sofya Raskhodnikova