1.

Which one of the following sorting algorithm requires recursion?(a) pigeonhole sort(b) strand sort(c) insertion sort(d) counting sortThe question was asked in unit test.Question is taken from Sorting topic in division Sorting of Data Structures & Algorithms II

Answer»

The correct answer is (b) strand SORT

Best explanation: Strand sort REQUIRES the use of RECURSION for implementing its algorithm. On the other hand, the sorting ALGORITHMS given in the remaining options use ITERATIVE methods.



Discussion

No Comment Found

Related InterviewSolutions