If we have a function
f(n) = 1.5n^2 + 2n + 7
when n is large enough
f(n) < n^3
we call this
f(n) = O(n^3)
definition
大O定义
大 Ω 定义
大 Θ 定义
If we have a function
f(n) = 1.5n^2 + 2n + 7
when n is large enough
f(n) < n^3
we call this
f(n) = O(n^3)