Repeating And Missing Element Leetcode Javascript 30