1.

Stooge sort is a stable sorting algorithm.(a) true(b) falseThis question was addressed to me in unit test.This question is from Sorting in portion Sorting of Data Structures & Algorithms II

Answer»

The correct choice is (b) false

Easy explanation - Stooge sort is not a stable SORTING algorithm. It is because the ELEMENTS with identical VALUES do not appear in the same order in the OUTPUT array as they were in the input array.



Discussion

No Comment Found

Related InterviewSolutions