[prev] 24 [next]

Big-Oh Notation

Given functions f(n) and g(n), we say that

f(n) is O(g(n))

if there are positive constants c and n0 such that

f(n) ≤ c·g(n)    ∀ nn0