×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which of the following asymptotic notations is the worst among all?

17. Which of the following asymptotic notations is the worst among all?

  1. O(n)
  2. O(1)
  3. O(n^3)
  4. O(2n)

Answer

The correct answer is: C) O(n^3)

Explanation

  • O(n3) being cubic is the worst one.  
  • O(n) is dependent on n.
  • O(1) is constant.
  • O(2n) is dependent on n but O(n) is better.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.