Amazon Interview Question

Something to do with string anagram