1.

Odd-even sort is a comparison based sort.(a) true(b) falseThe question was posed to me by my college professor while I was bunking the class.The above asked question is from Sorting in chapter Sorting of Data Structures & Algorithms II

Answer»

The CORRECT choice is (a) true

To explain: Odd-even sort COMPARES the value of different elements in the array for sorting. Thus, it is a COMPARISON BASED sort.



Discussion

No Comment Found

Related InterviewSolutions