Pergunta de entrevista da empresa The Magnes Group

The approach one would take to take a map and reverse keys and values.