1.

Which of the following sorting algorithm uses the method of insertion?(a) cycle sort(b) bubble sort(c) quick sort(d) selection sortI have been asked this question in unit test.My question is taken from Sorting in section Sorting of Data Structures & Algorithms II

Answer»

Right answer is (a) cycle sort

The BEST I can EXPLAIN: Cycle sort is the only ALGORITHM from the given ONES that uses the METHOD of insertion. Other than this, insertion sort also uses the method of insertion for sorting.



Discussion

No Comment Found

Related InterviewSolutions