1.

Which of the following sorting algorithm uses a binary search?(a) radix sort(b) binary insertion sort(c) odd-even sort(d) bead sortI had been asked this question during an internship interview.I need to ask this question from Sorting in chapter Sorting of Data Structures & Algorithms II

Answer» CORRECT answer is (b) binary insertion sort

Best explanation: Binary insertion sort makes use of a binary SEARCH algorithm. It is USED to find the correct index in the array where the element should be INSERTED.


Discussion

No Comment Found

Related InterviewSolutions