O(n^2) commonly used
a function f has the upper bound of the function described by `n^2`.
or formal:
f ∊ O(n^2)
So:
O(n^2) is a collection- our function
f is in this set. O(n^2) - a set of functions with an upper bound described by n^2
Problem: Set Division is not an algebraic division, because you know this from division of numbers, so what you want to achieve is impossible.
However, O(n^3/n) is possible and will be reduced to O(n^2) .
source share