Qualtrics interview question

Binary search