Leetcode Design Hashmap Python Coder