Question d’entretien chez Optum

Write a program on anagrams? Puzzles kind of program logics