...
Database-Management-System
October 14, 2023
GATE 2007
October 14, 2023
Database-Management-System
October 14, 2023
GATE 2007
October 14, 2023

GATE 2007

Question 14

Which of the following sorting algorithms has the lowest worst-case complexity?

A
Merge sort
B
Bubble Sort
C
Quick Sort
D
Selection Sort
Question 14 Explanation: 
Worst case time complexities are
Merge sort→ O(nlogn)
Bubble sort→ O(n2)
Quick sort→ O(n2)
Selection sort→ O(n2)
Correct Answer: A
Question 14 Explanation: 
Worst case time complexities are
Merge sort→ O(nlogn)
Bubble sort→ O(n2)
Quick sort→ O(n2)
Selection sort→ O(n2)
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!!