Nokia Interview Question

All possible anagrams of a string.