Lazada interview question

Draw pseudo code of binary search