Leetcode Hashmap Based Problems After Knee