Whenever you're ready, walk me through how you'd approach this.
How would you implement the binary search algorithm and handle edge cases correctly?