Meta interview question

Coding implementation of a variation of binary search