1.

Binary search can be used in an insertion sort algorithm to reduce the number of comparisons.(a) True(b) FalseThe question was asked in examination.This intriguing question comes from Insertion sort topic in chapter Sorting of Data Structures & Algorithms II

Answer» RIGHT ANSWER is (a) True

Easy explanation - Binary search can be used in an INSERTION SORT algorithm to reduce the NUMBER of comparisons. This is called a Binary insertion sort.


Discussion

No Comment Found

Related InterviewSolutions