Viasat interview question

Whether two strings are anagram