David A. Tanzer
Big O analysis
Recall our function f(n) from Part 4, which gives the values 2, 13, 14, 25, 26, 37, …
Using ‘big O’ notation, we write f(n) = O(n) to say that f is linearly bounded.
This means that f(n) will eventually become less than some linear function.
As we said, f(n) has a “rough slope” of 6. So f could never be bounded by e.g. the linear function 2n. On the other hand it looks like f should be bounded by any linear function with slope greater than 6, e....
Published on March 09, 2021 20:08