Pergunta de entrevista da empresa Perficient

Write a function that determines if strings are anagrams.