Examveda

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)

Answer: Option D


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms