Pregunta de entrevista de Arrive Logistics

Write a function that determines whether two strings are anagrams.