OYO Interview Question

Binary search and question on it