Design Hashmap Leetcode Solution Github Python Example