Question 5351 – Algorithms
Big – O estimate for
f(x) = (x+1) log(x2+1)+3x2 is given as
Correct Answer: B
Question 298 Explanation:
f(x) = (x+1) log(x2+1)+3x2 in this function, 3x2 is leading term. So, we can call asymptotically O(n2).
O(x log x)
O(x2)
O(x3)
O(x2 log x)
Subscribe
Login
0 Comments