Yahoo Interview Question

write codes to get if a string is an anagram