quTIP interview question

Find the repeated integer in a sorted array.