Question: What is the auxiliary space generated by counting sort (n: size of array, k: size of range)? Select one: oa. O(n log n) b.O(k) c.
What is the auxiliary space generated by counting sort (n: size of array, k: size of range)? Select one: oa. O(n log n) b.O(k) c. O(n + k) d. On) e. O(nk)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
