0
Which of the following sorting algorithms needs only O(1) extra (auxiliary) space?
- ABucket sort
- BMerge sort (array version)
- CCounting sort
- DHeap sort
Correct answer: D
Which of the following sorting algorithms needs only O(1) extra (auxiliary) space?