Remove Duplicates Leetcode Python Solutions