Pergunta de entrevista da empresa Arm

Write a function that determines whether two strings are anagrams