As n ⇒ ∞, f = Ω(n) ⇒ f = O(n^2).
How can I show if this Omega and Big-O notation is correct?
As n ⇒ ∞, f = Ω(n) ⇒ f = O(n^2).
How can I show if this Omega and Big-O notation is correct?
It's false, and one counterexample is enough to show that it's false.
A simple counterexample is the function f(n) = n3, which is in Ω(n), but not in O(n2).