Find Repeating Element In Sorted Array Leetcode