#77 Number of letters in anagram

48 views
Skip to first unread message

Alexey Perekhodov

unread,
Mar 17, 2017, 9:37:54 AM3/17/17
to 4Clojure
I suppose, that test cases are not complete, since number of letters are not checked. For example, this solution is passed successfully.

(fn [arg] (set (map set (filter #(> (count %) 1) (map val (group-by #(set %) arg))))))

But it treats "ever" and "evere" words as anagrams.
Reply all
Reply to author
Forward
0 new messages