I’m really confused about the differences between big O, big Omega, and big Theta notation.
I understand that big O is the upper bound and big Omega is the lower bound, but what exactly does big Ө (theta) represent?
I have read that it means tight bound, but what does that mean?
It means that the algorithm is both big-O and big-Omega in the given function.
For example, if it is
Ө(n), then there is some constantk, such that your function (run-time, whatever), is larger thann*kfor sufficiently largen, and some other constantKsuch that your function is smaller thann*Kfor sufficiently largen.In other words, for sufficiently large
n, it is sandwiched between two linear functions :For
k < Kandnsufficiently large,n*k < f(n) < n*K