Citi interview question

Algorithm (pseucode) of binary search.