Sorting Algorithms - Study Mode
[#141] What is the disadvantage of counting sort?
Correct Answer
(D) counting sort cannot be used for array with non integer elements
[#142] Auxiliary space used by gnome sort is . . . . . . . .
Correct Answer
(A) O(1)
[#143] What is the purpose of using randomized quick sort over standard quick sort?
Correct Answer
(A) so as to avoid worst case time complexity
[#144] What is the purpose of using a median of three quick sort over standard quick sort?
Correct Answer
(A) so as to avoid worst case time complexity
[#145] Bucket sort is a generalization of which of the following sort?
Correct Answer
(B) Pigeonhole sort