Meta Interview Question

A problem related to binary search