InterviewSolution
Saved Bookmarks
| 1. |
What is the auxiliary space requirement of cube sort?(a) O(n)(b) O(1)(c) O(log n)(d) O(n log n)I have been asked this question in quiz.My question is taken from Sorting topic in chapter Sorting of Data Structures & Algorithms II |
|
Answer» RIGHT choice is (a) O(n) The best I can EXPLAIN: CUBE sort REQUIRES an AUXILIARY space of O(n). This is the worst case of auxiliary space complexity. |
|