SAP interview question

Basic binary search question and other easy to medium level coding test. Overall not hard