PROS interview question

Write code to find string is anagram or not?