Download presentation
Presentation is loading. Please wait.
1
Lecture 3 CSE 331 Sep 4, 2009
2
This is Jeff
3
Clarifications on your blog posts You’ll email me your post by 5pm before the next lecture Your grade will primarily depend on the “coverage” of the lecture Lecture 3 post will be a “model” entry Your entry will be put up unedited (modulo formatting)
4
Main Steps in Algorithm Design Problem Statement Algorithm Real world problem Problem Definition Precise mathematical def “Implementation” Data Structures Analysis Correctness/Run time
5
Worst-case analysis Correctness should hold for every valid input Resource usage by the worst-possible input
6
National Resident Matching
7
(Screen) Docs are coming to BUF Hawkeye (M*A*S*H) JD (Scrubs) Buffalo General Millard Filmore (Gates Circle) Millard Filmore (Suburban)
8
What can go wrong?
9
The situation is unstable!
10
What happens in real life Preferences Information Preferences
11
NRMP plays matchmaker
12
Stable Marriage Problem David Gale Lloyd Shapley
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.