Repeating And Missing Element Leetcode 7540