Always happy to provide Clojure answers ;)
(defn anagram? [w1 w2]
(= (sort w1) (sort w2)))
And of course I snooped the algorithm from all the other answers here.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.