Question d’entretien chez PROS

Write code to find string is anagram or not?