- A binary search algo finds an item in a sorted list in O(log(n)) time
- A brute force approach would walk through the whole list taking O(n) time
Assuming we have a list of sorted numbers
- Start with middle number, is it bigger or smaller than our target number?
- We've effectively divided the problem in half
- Repeat the same approach of starting in the middle on new half-size problem