Q494
What is the space complexity of pigeonhole sort (k=range of input)?
A.
O(n*k)
B.
O(n)
C.
O(k)
D.
O(n+k)
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board