1.

Bucket sort is a generalization of which of the following sort?(a) LSD radix sort(b) Pigeonhole sort(c) Counting sort(d) MSD radix sortI had been asked this question during an interview for a job.My question is taken from Sorting in section Sorting of Data Structures & Algorithms II

Answer»

The CORRECT ANSWER is (b) Pigeonhole SORT

The best I can explain: Pigeonhole sort is a particular case of BUCKET sort. Bucket sort is also closely related to MSD RADIX sort.



Discussion

No Comment Found

Related InterviewSolutions