PIT D 26 DEN
ooh
Syllabus lectureNotes
lecture Videos Hw Assignments
Piazza
Discussion Board
Submissions
Anyother referencematerial
Hw Exams
Roles
Responsibilities
teethes
Instructor Shaun TAs HW
Exams Graders grading Hw
Course Producers Misc
CS Dept Advisors Registration
DEN Support
Textbooks
DEN accessissues
Algorithm Design by Jon Kleinberg Eva Tardos
Supplementaltextbook Introduction to Algorithms
3rdedition byCorman etal
Exam
9 30
fundative
2
look
exhibits
Attending lecture Discussions
Studying materialfrom from textbook
Do HW problems
Do as many otherproblems
textbook aspossible Yourgradesy
Oct 251PM Exam 2 30 Nov E
9PM ET
from
g 3 40 Dec
gapM
At receive
an A
99.99 99.99
99
99 99
leastthetop 20
oftheclass will
ofthe class between 5 will waive an A
At leastthe next to top 20 and top30
99.99
H y Mabus
Introduction
Review ofsomeprereg’s asymptotic notation
Majoralgorithmic techniques
Greedy
Divide Conquer
Dynamic Programming
Approximation Algorithms Linear Programming
Exeunt
Exam z Computational ComplexityTheory
Network Flow
Today
Exam 3 cumulative
Kharazmi 4
Algorithm
780 850
Correctness Performance
PaIrallel
processing DMP
SM P hybrid
Memory hierarchy cache
GPU
Mfous
M
To
0
o_0
t.IT
w
O
A matching
a perfect matching
o
Agt
M
W
S
yo _y
MW
a
such a pair m w l is WRT
calledan instability
andshecanoulygtintobdteragage.me and may get
dropped repeatedly only to settle for a lower ranking woman
sohu.tfnsifentgzin.IT
Solution 5Osoluturisastabt
is a perfectmatching
k
M
in
Say
a ow Cmis
n
an instability
0to
l
w
m
omo
M
ni II
Nen Proposing Women
W
w
Mcw Cml w Proposing mini mi
w
l
04 Oa
04
Array implementatia
get
ou 041
0h ou
linked stack
queue
list
keep an Nextcm
array NextGen where points to the position of
the next woman hewillheproposingto on his pref hot
04 Oct
OG OG
put
Man PrefEm Nextaid
O
i
womanPref
I
2
5
Woman
Ranting.lt y
keep
where Current
set to me
called Corrente B w is Nullif w issingle
if he is engagedto a
i
an
array
ltI
or
ri
t
inherit
l
o
wins
rywfqtdpo.tw
E
S
mO we
in favor of me w
w
cnn.ws is
an
instability
sm oWLmw e
an
is instability
M_o ow