Non Repeating Element Leetcode Playground Python