Introduction - If you have any usage issues, please Google them yourself
Binary search or half-interval search algorithm locates the position of an item in a sorted array. Binary search works by comparing an input value to the middle element of the array.