Contains Duplicate Leetcode Python Problems