QA InfoTech interview question

check if string is anagram or not?