Chapter 1
Chapter 1
constant − Ο(1)
logarithmic − Ο(log n)
linear − Ο(n)
quadratic − Ο(n2)
cubic − Ο(n3)
polynomial − nΟ(1)
exponential − 2Ο(n)
• Typical Orders Here is a table of some typical
cases. This uses logarithms to base 2, but these
are simply proportional to logarithms in other
base.
Orders of Common Functions
End of chapter 1