0
1.8kviews
| written 6.7 years ago by |
Binary search is a fast search algorithm with run-time complexity of Ο(log n).
This search algorithm works on the principle of divide and conquers. For this algorithm to work properly, the data collection should be in the sorted form.
Binary search looks for a particular item by comparing the middle …