Having trouble with a homework problem on time complexity, how do you properly proof the equation. Everything I've done so far leads me to dead ends.
Question as listed:
Let f(n)
and g(n)
be non-negative functions such that f(n)
is O(g(n))
and g(n)
is
O(f(n))
. Use the definition of “big Oh” to prove that f(n) − g(n)
is O(f(n))
.