Lecture 7

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. Read the note on complexity in www.cs.fsu.edu/~asriniva/courses/DS04/lectures/Lec6/complexity.html
  2. Section 2.2 - 2.7.
  3. Class notes.

Exercises and review questions


Last modified: 14 Sep 2004