Remove Duplicates Leetcode Python Problems