Design Hashmap Leetcode Solution Github Python Games