Design Hashmap Leetcode Solution Github Python Exercises Geeksforgeeks