Meta interview question

Simple programming questions, binary search