Kinaxis interview question

Valid anagram (two input strings)