2010 June UGC NET Paper 1
October 27, 2023Sorting
October 28, 2023Sorting
Question 86 |
Which of the following sorting procedures is the slowest?
Quick sort | |
Merge sort | |
Shell sort | |
Bubble sort |
Question 86 Explanation:
Bubble sort will execute O(n 2 ) time worst case and also it takes n-1 comparisons. So, bubble sort procedure is the slowest one among all.
Correct Answer: D
Question 86 Explanation:
Bubble sort will execute O(n 2 ) time worst case and also it takes n-1 comparisons. So, bubble sort procedure is the slowest one among all.
Subscribe
Login
0 Comments