Big-O, Omega and Theta Notations
Learn the ways to express the limits of a function representing the algorithm complexity.
We'll cover the following
Big- notation
Definition: “ is big- of ” or = , if there are two positive constants and such that for all ,
In other words, is an upper bound for for all . The function growth is slower than . For a sufficiently large value of input , the will always be greater than .
Example: + ()
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.