Which of the following is the correct ascending order of complexity in terms…
Which of the following is the correct ascending order of complexity in terms of growth rate?
- A.
O(n), O(n2), O(n log n), O(log n)
- B.
O(log n), O(n), O(n log n), O(n2)
- C.
O(n2), O(n log n), O(n), O(log n)
- D.
O(log n), O(n2), O(n log n), O(n)
Attempted by 456 students.
Sign up free to check your answer
Sign up freeLoading lesson…

