i2c interview question

Check if two strings are anagrams or not.