Juliet C. answered 09/09/23
PhD in Computer Science with 8+ Years of Teaching Experience
Choose some values of n, such as 1, 10, 100, 1000, etc. Then take each function and apply it to each value for n and compare the results.
For example, let's consider just n, sqrt n, and n2:
If we were just comparing these three functions using these values for n, the order would be sqrt n ≤ n ≤ n2.