Design Hashmap Leetcode Solution Github Python Examples