Lazada Interview Question

Draw pseudo code of binary search