pith. sign in

arxiv: 1406.1677 · v1 · pith:SY34EWIDnew · submitted 2014-06-06 · 💻 cs.DS · cs.IT· math.IT

Modified Binary Search Algorithm

classification 💻 cs.DS cs.ITmath.IT
keywords algorithmbinaryelementsearchinputchecksdatagiven
0
0 comments X
read the original abstract

This paper proposes a modification to the traditional binary search algorithm in which it checks the presence of the input element with the middle element of the given set of elements at each iteration. Modified binary search algorithm optimizes the worst case of the binary search algorithm by comparing the input element with the first & last element of the data set along with the middle element and also checks the input number belongs to the range of numbers present in the given data set at each iteration there by reducing the time taken by the worst cases of binary search algorithm.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.