Repeating And Missing Element Leetcode Sql Server