Chapter6: Binary Search
About Binary Search
Binary search works on a sorted collection of elements, such as an array.
The basic idea behind binary search is to repeatedly divide the search interval in half.
It has a time complexity of O(log n) where "n" is the number of ...
kavya08.hashnode.dev3 min read