Sorting Algorithms - Study Mode
[#296] Which of the following is a variant of insertion sort?
Correct Answer
(B) shell sort
[#297] The given array is arr = {2, 6, 1}. What are the pivots that are returned as a result of subsequent partitioning?
Correct Answer
(D) 1
[#298] What are the number of swaps required to sort the array arr={1, 2, 4, 3, 7, 5, 6} using recursive bubble sort?
Correct Answer
(D) 3
[#299] Bucket sort is an in place sorting algorithm.
Correct Answer
(B) False
[#300] Strand sort algorithm used which of the following method for sorting a list?
Correct Answer
(B) selection