DIRECTV interview question

Binary search and simple array questions.