Which of the following is not O(n^2)?
O
(15410) * n + 12099
O
n^1.98
O
n^3/ (sqrt(n))
O
(2^20) * n
Answers
Answered by
0
This is the answer to this question
Attachments:
Answered by
0
Complete question
"Which of the following is not O(n^2)?
(A) + 12099
(B)
(C)
(D) "
Answer:
(C)
Explanation:
Best answer
The Big-O notation is used to indicate the maximum execution time. This means that the algorithm does not take longer than the binding function.
- , This polynomial can safely ignore the constant part 12099. This leaves. Again, is a constant and can be ignored. This gives theta (n) restrictions. This theta (n) is always bound by .
- is also always bound by
- , you can clearly see that cannot be bound with . This increases much faster than . Therefore, this cannot be .
- , like the first case, this is also linear with respect to the input. Therefore, it is also bound to .
#SPJ3
Similar questions