Page 1 of 1

What is the average time complexity of counting sort?

Posted: Wed Jul 13, 2022 6:15 pm
by answerhappygod
a) O(n)
b) O(n+k) k=range of input
c) O(n2)
d) O(n log n)