Sorting Algorithms - Study Mode

[#106] What is the recurrence relation for stooge sort?
Correct Answer

(D) T(n) = 3T(2/3n) + O(1)

[#107] Apply Quick sort on a given sequence 7 11 14 6 9 4 3 12. What is the sequence after first phase, pivot is first element?
Correct Answer

(B) 6 3 4 7 9 14 11 12

[#108] What is the average case time complexity of cycle sort?
Correct Answer

(A) O(n 2 )

[#109] Which of the following sorting algorithm is in-place?
Correct Answer

(B) Cycle sort
(E) intro sort

[#110] What is the worst case time complexity of odd-even sort?
Correct Answer

(C) O(n 2 )