Question d’entretien chez Niantic

Find an element in a rotated sorted array with duplicates