Download presentation
Presentation is loading. Please wait.
1
Lecture 4 CSE 331 Sep 8, 2010
2
Deadline to form your group passed
3
New tougher deadline If you do not form a group by Sep 14
You will get a ZERO on group leader scribe
4
Only 62 signed forms I’ll need confirmation in writing. No graded material will be handed back till I get this signed form from you!
5
Main Steps in Algorithm Design
Problem Statement Real world problem Problem Definition Precise mathematical def Algorithm “Implementation” Data Structures Analysis Correctness/Run time
6
Worst-case analysis Correctness should hold for every valid input
Why worst-case? Resource usage by the worst-possible input What resources?
7
Hence, Brad Pitt is a goat.
The language of proofs Brad Pitt had a beard waleg.com Every goat has a beard animaldiversity.org Hence, Brad Pitt is a goat.
8
Questions/Comments?
9
National Resident Matching
10
(Screen) Docs are coming to BUF
Buffalo General Hawkeye (M*A*S*H) Millard Filmore (Gates Circle) JD (Scrubs) Millard Filmore (Suburban)
11
What can go wrong?
12
The situation is unstable!
13
What happens in real life
Preferences Information Preferences
14
NRMP plays matchmaker
15
Stable Marriage Problem
David Gale Lloyd Shapley
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.