Asymptotics
-
When deciding how fast or slow algorithms are, we do not want to solely rely on measurements in seconds, since that is very machine-dependent (you can just buy a new computer next year and your algorithm will execute twice as fast!) and variable (running time is most likely to be different every time you execute the algorithm). Instead, we use Big O, Big Theta and Big Omega notations (, and ) to describe the order of growth of algorithms.
Name
Big O
Big Omega
Big Theta
Notation
Informal meaning
Order of growth of is less than or equal to
Order of growth of is greater than or equal to
Order of growth of is
Example family
Family members
, ,
, ,
, ,