big-oh: relatives (omega & theta)

6
Tim Roughgarden Asymptotic Analysis Big-Oh: Relatives (Omega & Theta) Design and Analysis of Algorithms I

Upload: fraley

Post on 22-Feb-2016

64 views

Category:

Documents


0 download

DESCRIPTION

Asymptotic Analysis. Big-Oh: Relatives (Omega & Theta). Design and Analysis of Algorithms I. Omega Notation. Theta Notation. Let Which of the following statements are true? ( Check all that apply.) . Little-Oh Notation. Where Does Notation Come From?. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Big-Oh:  Relatives (Omega & Theta)

Tim Roughgarden

Asymptotic AnalysisBig-Oh: Relatives (Omega & Theta)

Design and Analysis of Algorithms I

Page 2: Big-Oh:  Relatives (Omega & Theta)

Tim Roughgarden

Omega Notation

Page 3: Big-Oh:  Relatives (Omega & Theta)

Tim Roughgarden

Theta Notation

Page 4: Big-Oh:  Relatives (Omega & Theta)

Let Which of the following statements are true? (Check all that apply.)

𝑇 (𝑛 )=Θ(𝑛2) .

𝑇 (𝑛 )=𝑂 (𝑛) .

𝑇 (𝑛 )=Ω (𝑛) .

𝑇 (𝑛 )=𝑂 (𝑛3) .

Page 5: Big-Oh:  Relatives (Omega & Theta)

Tim Roughgarden

Little-Oh Notation

Page 6: Big-Oh:  Relatives (Omega & Theta)

Tim Roughgarden

Where Does Notation Come From?“On the basis of the issues discussed here, I propose that members of SIGACT, and editors of compter science and mathematics journals, adopt the and notations as defined above, unless a better alternative can be found reasonably soon”.-D. E. Knuth, “Big Omicron and Big Omega and Big Theta”, SIGACT News, 1976. Reprinted in “Selected Papers on Analysis of Algorithms.”