Sorting Algorithms - Study Mode
[#136] What is the average case time complexity of bogosort?
Correct Answer
(B) O(n*n!)
[#137] Which of the following algorithm takes linear time for sorting?
Correct Answer
(A) pigeonhole sort
[#138] What is the cut-off for switching from quick sort to heap sort in the implementation of introsort?
Correct Answer
(D) 2 log (n)
[#139] What is the auxiliary space complexity of recursive insertion sort?
Correct Answer
(B) O(1)
[#140] What is the average case time complexity of gnome sort?
Correct Answer
(B) O(n 2 )