O, & Theta; and & Omega; notation is an interconnected, but very different concept. O-notation expresses an asymptotic upper bound for the growth rate of a function; he says that a function is ultimately bounded above by some constant multiple of some other function. Ω The designation is similar, but gives a lower bound. & Theta; the notation gives an asymptotic bounded boundary — for sufficiently large inputs, the algorithm grows at a rate bounded by a constant, multiple function, both from above and below.
If f (n) = O (g (n)), then it is not necessarily true that f (n) = & Omega; (g (n)) or f (n) =? (g (n)). For example, 1 = O (n), but 1? Ne & Omega; (n) because n grows strictly faster than 1.
, f (n) = O (g (n)) & Omega; (h (n)), g (n) & ne; h (n), j (n) , f (n) = & Theta; (j (n)). g (n) = & Theta; (h (n)), , f (n) = & Theta; (g (n)), , the & Theta; .
, !