What is the purpose of using randomized quick sort over standard quick sort?
(a) so as to avoid worst case time complexity
(b) so as to avoid worst case space complexity
(c) to improve accuracy of output
(d) to improve average case time complexity
This question was addressed to me during an interview for a job.
My question is from Sorting topic in portion Sorting of Data Structures & Algorithms II