CME Group Interview Question

How do you detect if two strings are anagrams?