1.

What is the average time complexity of pigeonhole sort (k=range of input)?

A. O(n)
B. O(n+k)
C. O(n<sup>2</sup>)
D. O(n*k)
Answer» C. O(n<sup>2</sup>)


Discussion

No Comment Found