1.

Which of the following non-comparison sort can also be considered as a comparison based sort?(a) counting sort(b) MSD radix sot(c) bucket sort(d) pigeonhole sortPlease answer this question of dsa.

Answer»

The correct ANSWER is (c) bucket sort

Easiest EXPLANATION - Bucket sort can also be CONSIDERED as a comparison BASED sort. It is because it can also be implemented with comparisons.



Discussion

No Comment Found

Related InterviewSolutions