Visa Inc. interview question

Easy leetcode questions testing array manipulations and hashmaps