Oracle interview question

Find Minimum in rotated sorted array. Followup - With duplicates