Visa Inc. interview question

Hash map based dsa question