Complexity Notation
The notations we use to describe the asymptotic running time of an algorithm are defined in terms of functions whose domains are the set of natural number
- Upper limit
Let
If there exists a constant
, such that for n sufficiently large,
Basically we are saying that the function
- Lower limit
Let
Let