Other Common Asymptotic Notations and Why Big O Trumps Them
Understand various asymptotic notations including Big Omega, Theta, little o, and little omega, and learn why Big O is commonly used to describe worst-case time and space complexity in algorithms. This lesson clarifies misconceptions and explains the practical reasons for favoring Big O in coding interviews.
Big ‘Omega’ -
Mathematically, a function is in if there exists a real constant and there exists such that for . In other words, for sufficiently large values of , will grow at least as fast as .
It is a common misconception that Big O characterizes worst-case running time while Big Omega characterizes the best-case running time of an algorithm. There is no one-to-one relationship between any of the cases and the asymptotic notations.
The following graph shows an example of functions and that have a Big Omega relationship.
Quick quiz on Big Omega!
True
False
Did you know that if then ? Try proving it!