People are always having trouble with "big $O$" notation when it comes to how to write it down in a mathematically correct way.
Example: you have two functions $n\mapsto f(n) = n^3$ and $n\mapsto g(n) = n^2$
Obviously $f$ is asymptotically faster than $g$. Is it $f(n) = O (g(n))$ or is it $f(n) \in O(g(n))$?
My prof says that the first one is wrong but is a very common practice, therefore it is used very offten in books. Although the second one is the right one.
Why is that so?
I really like Wikipedia's note on this: