Leetcode Design Hashmap Python W3schools Lambda