Sorting Algorithms - Study Mode

[#221] Which sorting algorithm does not work efficiently for arrays with large ranges of integer keys?
Correct Answer

(C) Counting Sort

[#222] Shell sort is more efficient than insertion sort if the length of input arrays is small.
Correct Answer

(B) False

[#223] The given array is arr={7, 4, 5, 8, 1, 2}. The number of iterations required to sort the array using comb sort and bubble sort respectively will be . . . . . . . .
Correct Answer

(D) 4 and 5

[#224] What is the auxiliary space complexity of merge sort?
Correct Answer

(C) O(n)

[#225] What is the auxiliary space requirement of permutation sort?
Correct Answer

(B) O(1)