SS&C Advent interview question

Implement a binary search.