YouTube Interview Question

Asked for binary search problems