Pergunta de entrevista da empresa Visa Inc.

First two questions were simple and third was harder. First one was about strings, second was focused on hashmaps, third was a DP question