Lister Technologies interview question

Pseudo code for binary search?