Sorting Algorithms - Study Mode
[#281] How many comparisons will be made to sort the array arr={1, 5, 3, 8, 2} using pigeonhole sort?
Correct Answer
(D) 0
[#282] The auxiliary array used in pigeonhole sorting is called . . . . . . . .
Correct Answer
(D) pigeonhole
[#283] Odd-even sort is a variation of . . . . . . . .
Correct Answer
(A) Bubble sort
[#284] Bubble sort performs better as compared to cocktail sort.
Correct Answer
(B) False
[#285] Which of the following is an advantage of cycle sort?
Correct Answer
(C) it requires minimal write operations