Esri Interview Question

Write a binary search for numbers in an array.