×

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

Advertisement


What is the best-case time complexity of the Merge Sort algorithm?

2. What is the best-case time complexity of the Merge Sort algorithm?

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

Answer

The correct answer is: B) O(n log n)

Explanation

Merge Sort has a best-case time complexity of O(n log n), the same as its average and worst-case complexities.

Comments and Discussions!

Load comments ↻






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