Sorting Algorithms - Study Mode

[#461] What is the worst case time complexity of bead sort (S= sum of input elements)?
Correct Answer

(B) O(S)

[#462] What is the best case time complexity of bead sort (S = sum of input elements)?
Correct Answer

(A) O(n)

[#463] LSD radix sort requires . . . . . . . . passes to sort N elements.
Correct Answer

(A) (w/logR)

[#464] What is a randomized quick sort?
Correct Answer

(B) quick sort with random choice of pivot

[#465] What is an external sorting algorithm?
Correct Answer

(A) Algorithm that uses tape or disk during the sort