Pergunta de entrevista da empresa Instructure

Write a function that determines if two strings are anagrams.