Q. Which of the following sorting algorithm has best case time complexity of O(n2)?

  • (A) bubble sort
  • (B) selection sort
  • (C) insertion sort
  • (D) stupid sort
πŸ’¬ Discuss
βœ… Correct Answer: (B) selection sort
Explanation: selection sort is not an adaptive sorting algorithm. it finds the index of minimum element in each iteration even if the

Explanation by: Mr. Dubey
selection sort is not an adaptive sorting algorithm. it finds the index of minimum element in each iteration even if the

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
270
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate