Snap interview question

Solve anagrams.