Pergunta de entrevista da empresa OSDC

find the most appeared word in a text file/ algorithm for string anagrams