Vidyalelo
Data Structure · Q443

Sorting Algorithms

Programming · Data Structure · question 443

Q443

What is the average time complexity of counting sort?

A.
O(n)
B.
O(n+k) k=range of input
Answer
C.
O(n2)
D.
O(n log n)

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board