Scotiabank Interview Question

LeetCode medium difficulty problem involving hashmaps.