Lister Technologies Interview Question

Pseudo code for binary search?