Question: 1.1 Choose the right answer f(n) = 100n + log n, g(n) = n + (log n)^2 1) f (n) = O(g(n)) 2) g(n) =
1.1
Choose the right answer
f(n) = 100n + log n, g(n) = n + (log n)^2
1) f (n) = O(g(n))
2) g(n) = O(f (n))
3) f(n) = O(g(n)) and g(n) = O(f (n))
1.2
Choose the right answer
f(n) = n log n, g(n) = 10n log(10n)
1) f (n) = O(g(n))
2) g(n) = O(f (n))
3) f(n) = O(g(n)) and g(n) = O(f (n))
Please with the solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
