Genospace interview question

anagram