...
2010 June UGC NET Paper 1
October 27, 2023
Sorting
October 28, 2023
2010 June UGC NET Paper 1
October 27, 2023
Sorting
October 28, 2023

Sorting

Question 86
Which of the following sorting procedures is the slowest?
A
Quick sort
B
Merge sort
C
Shell sort
D
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.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!