Fortinet interview question

Q: Binary search using arrays.