Microsoft interview question

determine whether 2 strings are anagrams