Niantic Interview Question

Find an element in a rotated sorted array with duplicates