Lecture Outline
- Binary search is an efficient algorithm for searching for a value in a sorted data structure
- Running time of binary search is O(logn), because you eliminate half of the array each time you iterate
Lecture Recording
Lecture Slides
Code