anagram variant interview question