Meta Interview Question

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