Refinery29 Interview Question

Detect an anagram.