Q. Which of the following sorting algorithms does NOT have a worst-case running time of O(n2)?

  • (A) Insertion sort
  • (B) Merge sort
  • (C) Quicksort
  • (D) Bubble sort
πŸ’¬ Discuss
βœ… Correct Answer: (B) Merge sort

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
185
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Prabhas Kapoor
Publisher
πŸ“ˆ
90%
Success Rate