Arrive Logistics Interview Question

Write a function that determines whether two strings are anagrams.