SAP interview question

binary search