what is a binary search
Utilisateur anonyme
binary search is a searching technique.It is used to checck whether an element present in an array or not by finding the middle element of the array.If the required element equals to the middle return it.If it is less than the middle search in left array else right array.Binary search is always done on a sorted array.