Lecture 6

Learning objectives

After this class, you should be able to:

  1. Define the big-O, big-Omega, and big-Theta notations.
  2. Given an algorithm, derive its asymptotic time complexity, and express it using the big-O notation.
  3. Prove simple properties of the big-O notation, such as those given in section 2.3.
  4. Given functions f and g, prove or disprove that f = O(g). You should be able to do the proofs by directly using the definition, and also by using properties of big-O.

Reading assignment

  1. Section 2.3 - 2.5.
  2. Class notes.
  3. Page 76 and 77.

Exercises and review questions


Last modified: 24 Jan 2008