hashmap problem from walmart labs