Algorithms
Binary Search algorithm
Basics The main requirement for the binary search is: Array must be sorted. The binary search work in the same way as searching phone number by person name in phonebook. Or similar to searching word in the dictionary. For example you need to find word “Mars”. What the steps people Read more…