I am taking an online class on algorithms and I had the following quiz. I got it wrong and am trying to understand the reason for the answer.
Which of the following is O(n^3)?
a) 11n + 151 gn + 100
b) 1/3 n^2
c) 25000 n^3
d) All of the above.
The correct answer is (d) all of the above. The reason is that Big-O notation provides only the upper bound on the growth rate of function as n gets large.
I am not sure why the answer is not (c). For example, the upper bound on (b) is less than n^3.