Bloomberg Interview Question

Given a sorted array, with duplicate number maybe, find the target number or numbers.