Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
February 5, 2013
6.046/18.410
Handout 3
References
The principal text for this course is
Thomas H. Cormen, Charles E. Leiserson, Ronald
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
May 10, 2013
6.046/18.410
Recitation 12
Competitive Analysis
In this recitation, we use competitive analysis to study the performance o
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
May 3, 2013
6.046/18.410
Recitation 11
Set Cover Approximation Algorithm
Today we will cover another important approximation algorithm
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
April 26, 2013
6.046/18.410
Recitation 10
NP-Completeness and Polynomial-time Reductions
1
NP-Completeness
1.1
Denition Review
Any prob
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
April 12, 2013
6.046/18.410
Recitation 9
Linear Programming: The Simplex Algorithm
Today we will dive deeper into Linear Programming an
April 5, 2013
6.046/18.410
Recitation 8
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
More Max Flow: The Push-Relabel Algorithm
Today, we will discuss a class of max-ow algorithms t
March 22, 2013
6.046/18.410
Recitation 7
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
More Dynamic Programming
Today, well discuss three applications of dynamic programming: to ori
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
March 15, 2013
6.046/18.410
Recitation 6
Dynamic Programming
1
Overview
In the context of 6.046, Dynamic Programming is a general probl
March 8, 2013
6.046/18.410
Recitation 5
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
Random Walks and Satisability
1
Test Reminder
Quiz 1 is next Thursday, March 14.
Covers materia
March 1, 2013
6.046/18.410
Recitation 4
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
Randomized Select
1
Follow-up to Randomized Quicksort
In the analysis of randomized quicksort,
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
February 22, 2013
6.046/18.410
Recitation 3
Union-Find Data Structure
1
Introduction
A union-nd data structure, also known as a disjoin
February 15, 2013
6.046/18.410
Recitation 2
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
2-3 Trees and B-Trees
1
Recap
1.1
Balanced Binary Search Trees
Binary Search Trees that gua
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
February 8, 2013
6.046/18.410
Recitation 1
Matrix Multiplication and the Master Theorem
1
Strassen
1.1
Matrix Multiplication
Take matri
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
Released April 18, 2013
6.046J/18.410J
Quiz 2 Solutions
Quiz 2 Solutions
Mean: 53.0; Median: 52.5; Standard deviation: 19.5.
6.046J/18.
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
6.046J/18.410J
Quiz 2 Grade Distribution
Quiz 2 Grade Distribution
Mean: 53.0; Median: 52.5; Standard deviation: 19.5.
6.046J/18.410 Qu
Due April 24, 2013
6.046J/18.410J
Quiz 2
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
Quiz 2
Cover Sheet
Problem Title
Points Grade Initials
1
20
2
Mt. Cartesian Rescue Team
20
3
C
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
Quiz 1 Solutions
Mean: 49.7; Median: 49.5; Standard deviation: 9.9.
March 14, 2013
6.046J/18.410J
Quiz 1 Solutions
6.046J/18.410 Quiz 1
March 14, 2013
6.046J/18.410J
Quiz 1
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
Quiz 1
Do not open this quiz booklet until you are directed to do so. Read all the instructions rs
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
?
6.046/18.410
Recitation ?
Quiz 1
1
Test Reminder
Quiz 1 is Thursday, March 14 from 9:30am - 11:00am.
Covers material though last Frid
May 8, 2013
6.046/18.410
Problem Set 6 Solutions
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
Problem Set 6 Solutions
This problem set is due at 11:59pm on Wednesday, May 8, 2013.
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
April 10, 2013
6.046/18.410
Problem Set 5 Solutions
Problem Set 5 Solutions
This problem set is due at 11:59pm on Wednesday, April 10,
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
April 10, 2013
6.046/18.410
Problem Set 5
Problem Set 5
This problem set is due at 11:59pm on Wednesday, April 10, 2013.
Both exercises
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
April 1, 2013
6.046/18.410
Problem Set 4 Solutions
Problem Set 4 Solutions
This problem set is due at 11:59pm on Monday, April 1, 2013.
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
April 1, 2013
6.046/18.410
Problem Set 4
Problem Set 4
This problem set is due at 11:59pm on Monday, April 1, 2013.
Both exercises and
March 11, 2013
6.046/18.410
Problem Set 3 Solutions
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
Problem Set 3 Solutions
This problem set is due at 11:59pm on Monday, March 11, 201
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
March 11, 2013
6.046/18.410
Problem Set 3
Problem Set 3
This problem set is due at 11:59pm on Monday, March 11, 2013.
Both exercises an
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
March 4, 2013
6.046/18.410
Problem Set 2 Solutions
Problem Set 2 Solutions
This problem set is due at 11:59pm on Monday, March 4, 2013.
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
March 4, 2013
6.046/18.410
Problem Set 2
Problem Set 2
This problem set is due at 11:59pm on Monday, March 4, 2013.
Both exercises and
Design and Analysis of Algorithms
Massachusetts Institute of Technology
Profs. Constantinos Daskalakis and Erik Demaine
February 21, 2013
6.046/18.410
Problem Set 1
Problem Set 1
This problem set is due at 11:59pm on Wednesday, February 20, 2013.
Both exe