ABC interview question

about binary search and asked to implement binary search