ZERO_COOL
- 17
- 0
Homework Statement
Give the order of the following functions,
1. Ta(n) = 20^2 + (n + 4)^3
2. Tb(n) = (6n + 4)^2 + 3nlog2(n)
3. Tc(n) = (7n + 1)^2log10(n)
Homework Equations
The Attempt at a Solution
I got the following orders:-
1. Θ(n^3)
2. Θ(n^2)
3. Θ(n^2log10(n))
Number 2 is the most effecient for very large values of n because it is higher up the Big Oh ranking table.
Last edited: