Question d’entretien chez CoStar Group

Solve the anagrams leetcode please.