You're replying to a comment by Bill.

Bill Permalink
November 12, 2009, 13:42

In the description of lecture 2 you make a small, but important error.

You say f(n) = O(n^2) means function f(n) is always smaller than or equal to n^2, but that's not exactly right. For example, 2*n^2 is O(n^2), but it is always greater than n^2. So f(n) = O(n^2) means f(n) is smaller than c*n^2 for some constant c. Also, it is important to note that f(n) only needs to be greater than c*n^2 for large values of n. For example, n > n^2 if -1

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "server_170": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.