Leetcode Find Missing And Repeating Element In Python