Meta interview question

One was anagram problem. Another one was a weird compiler question.