Meta interview question

A problem related to binary search