Microsoft interview question

Anagrams, Two string substitution decipher