Cisco interview question

Find a number in a sorted array