Sorting Algorithms - Study Mode
[#331] What is the best case time complexity of library sort?
Correct Answer
(A) O(n)
[#332] What is the worst case complexity of selection sort?
Correct Answer
(D) O(n 2 )
[#333] Which of the following is not an alternative name of bogosort?
Correct Answer
(C) donkey sort
[#334] Stooge sort is a stable sorting algorithm.
Correct Answer
(B) false
[#335] Why is insertion sort preferred over other sorting algorithms (like selection sort, bubble sort etc.) for Tim sort implementation?
Correct Answer
(A) Because insertion sort is faster and adaptive