1.

Comb sort is a stable sorting algorithm.(a) True(b) FalseI have been asked this question in unit test.Enquiry is from Sorting in section Sorting of Data Structures & Algorithms II

Answer»

The CORRECT option is (b) False

Easy explanation - Comb sort is not a STABLE sorting ALGORITHM as it does not sort the REPEATED elements in the same ORDER as they appear in the input.



Discussion

No Comment Found

Related InterviewSolutions