NetApp interview question

Implement binary search given a array of sorted integers.