Microsoft interview question

Solve an anagram