Pregunta de entrevista de Paycom

Easy Anagram question for coding. General GFG puzzles.