Amazon Interview Question

Check if a string is a anagram using your choice of language.