{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CSE331 Lecture 9

# CSE331 Lecture 9 - Lecture 9 CSE 331 6 more to go Ill need...

This preview shows pages 1–14. Sign up to view the full content.

Lecture 9 CSE 331 Sep 19, 2011

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
6 more to go… I’ll need confirmation in writing. No graded material will be handed back till I get this signed form from you!
Clarification on HW hints Hint points to just one way of solving the problem

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Reading Assignments Sections 1.2, 2.1, 2.2 and 2.4 in [KT]
Asymptotic Notation is O with glasses is Ω with glasses = is Θ with glasses

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Run time of an algorithm (Worst-case) run time T(n) for input size n Maximum number of steps taken by the algorithm for any input of size n
g(n) is O(f(n)) g(n) n 0 c*f(n) for some c>0 n

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
g(n) is Ω(f(n)) g(n) n 1 n ε*f(n) for some ε>0
g(n) is Θ(f(n)) g(n) is O(f(n)) AND g(n) is Ω(f(n)) g(n) n 0 c*f(n) for some c>0 n ε*f(n) for some ε>0 n 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
For the find algo from last lecture T(n) is Θ(n)
Questions?

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Today’s agenda Analyzing the running time of the GS algo
Gale-Shapley Algorithm Intially all men and women are free While there exists a free woman who can propose Let w be such a woman and m be the best man she has not proposed to w proposes to m If m is free

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 18

CSE331 Lecture 9 - Lecture 9 CSE 331 6 more to go Ill need...

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online