Binary search:
- Binary search is an searching algorithm which is perform on sorted array.
- time complexity of binary search is O(logn).