1.

Which of the following sorting algorithm uses the method of insertion?(a) cube sort(b) bubble sort(c) quick sort(d) selection sortI had been asked this question in an online quiz.My doubt stems from Sorting topic in portion Sorting of Data Structures & Algorithms II

Answer» RIGHT choice is (a) cube sort

For explanation: Cube sort is the only algorithm from the GIVEN ones that uses the method of INSERTION. Other than this, the insertion sort also uses the method of insertion for SORTING.


Discussion

No Comment Found

Related InterviewSolutions