SAP Interview Question

1 question was on using binary search to solve problem