Page 1 of 1

What is the advantage of counting sort over quick sort?

Posted: Wed Jul 13, 2022 6:15 pm
by answerhappygod
a) counting sort has lesser time complexity when range is comparable to number of input elements
b) counting sort has lesser space complexity
c) counting sort is not a comparison based sorting technique
d) it has no advantage