Binary Sort

Binary Sort

Binary sort is a comparison type sorting algorithm. It is a modification of the insertion sort algorithm. In this algorithm, we also maintain one sorted and one unsorted subarray. The only difference is that we find the correct position of an element using binary search instead of linear search. It helps to fasten the sorting algorithm by reducing the number of comparisons required. Binary Sort Algorithm Let us assume that we have an unsorted array A[] containing n elements.

Tags

Search Algorithm Searching Algorithm Sort Algorithm Divide and Conquer

Most Popular Articles

Recently Updated Articles