Binary search technique:-
This technique is applied to an ordered list where elements are arranged either in ascending order or descending order. The array is separated into two parts and the item being searched for is compared with item at the centre of the array. If they are equal the search is successful. Or else the search is performed in either the first half or second half of the array. If the middle element is greater than the item