Sorting Algorithms - Study Mode
[#456] Which of the following is incorrect about randomized quicksort?
Correct Answer
(D) it cannot have a time complexity of O(n 2 ) in any case.
[#457] Which of the following is an alternate name of library sort?
Correct Answer
(A) gapped insertion sort
[#458] Which of the following traversal in a binary search tree results in a sorted output?
Correct Answer
(A) in order traversal
[#459] What is the best case time complexity of Tim sort?
Correct Answer
(A) O(n)
[#460] What is the advantage of counting sort over quick sort?
Correct Answer
(A) counting sort has lesser time complexity when range is comparable to number of input elements