InterviewSolution
Saved Bookmarks
| 1. |
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 complexityThis 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 |
|
Answer» Right choice is (a) so as to AVOID worst case time complexity |
|