GATE | GATE MOCK 2017 | Question 12
Which of the below given sorting techniques has highest best-case runtime complexity.
(A) Quick sort
(B) Selection sort
(C) Insertion sort
(D) Bubble sort
Answer: (B)
Explanation:
Quick sort best case time complexity is Ο(n logn)
Selection sort best case time complexity is Ο(n^2 )
Insertion sort best case time complexity is Ο(n)
Bubble sort best case time complexity is Ο(n)
Quiz of this Question
Recommended Posts:
- GATE | GATE MOCK 2017 | Question 33
- GATE | GATE MOCK 2017 | Question 34
- GATE | GATE MOCK 2017 | Question 35
- GATE | GATE MOCK 2017 | Question 36
- GATE | GATE MOCK 2017 | Question 37
- GATE | GATE MOCK 2017 | Question 38
- GATE | GATE MOCK 2017 | Question 39
- GATE | GATE MOCK 2017 | Question 40
- GATE | GATE MOCK 2017 | Question 32
- GATE | GATE MOCK 2017 | Question 31
- GATE | GATE MOCK 2017 | Question 30
- GATE | GATE MOCK 2017 | Question 23
- GATE | GATE MOCK 2017 | Question 24
- GATE | GATE MOCK 2017 | Question 25
- GATE | GATE MOCK 2017 | Question 26



