Frage im Vorstellungsgespräch bei Arrive Logistics

Write a function that determines whether two strings are anagrams.