Question d’entretien chez Garmin

Write some pseudocode to do a binary search on a sorted array.