Sorting Algorithms - Study Mode
[#396] What is the auxiliary space complexity of strand sort?
Correct Answer
(A) O(n)
[#397] What is the average case complexity of QuickSort?
Correct Answer
(A) O(nlogn)
[#398] How many swaps will be required in the worst case to sort an array having n elements using binary insertion sort?
Correct Answer
(D) log n
[#399] Cube sort is a comparison based sort.
Correct Answer
(A) true
[#400] The given array is arr = {1, 2, 3, 4, 5}. (bubble sort is implemented with a flag variable)The number of iterations in selection sort and bubble sort respectively are . . . . . . . .
Correct Answer
(D) 4 and 1