Pergunta de entrevista da empresa Intuit

Another question that required loop within a loop or hash maps.