Examveda

In which of the following case pigeonhole sort is most efficient?

A. when range of input is less than number of elements

B. when range of input is more than number of elements

C. when range of input is comparable to the number of elements

D. when the given array is almost sorted

Answer: Option C


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms