Design Hashmap Leetcode Solution Github Python Code