1.

Pigeonhole sort is a stable sorting algorithm.(a) true(b) falseI have been asked this question in exam.The query is from Sorting in chapter Sorting of Data Structures & Algorithms II

Answer»

Correct OPTION is (a) true

The best I can explain: PIGEONHOLE sort is an example of a stable SORTING algorithm. It is because the elements with identical values appear in the same order in the output array as they were in the INPUT array.



Discussion

No Comment Found

Related InterviewSolutions