Find Repeating And Missing Element Leetcode Playground Java