Pergunta de entrevista da empresa iCIMS

Both technical questions were easily solved with a hash map.