Wallet Hub interview question

Data structures and algorithms and you are all set