USAA interview question

hashmap leetcode easy 1 liner