We say that is a ‘Big O’ of
as
and write
Here are a few simple examples:
as
since
as
since
as
since
We say that is a ‘Little O’ of
as
and write
Alternatively, we can write
Here are a few simple examples:
as
since
as
since
as
since
| Big O | Little o |
|---|---|
| The quotient |
The quotient |
| f is at most of the same order as g | f is negligible compared to g |
Leave a Reply