Find Repeating And Missing Element Leetcode Two