Pergunta de entrevista da empresa Bloomberg

Group strings in vector by anagrams