Time Inc. interview question

String Anagram program