Avalara interview question

Program to find weather a string is anagram.