You are viewing a single comment's thread. Return to all comments →
Without using sets (and in Haskell, not Python):
isAnaPalin = bool "YES" "NO" . (>1) . length . filter id . map (odd . length) . group . sort
I'm sure it's possible to do a lot better than that though.
Seems like cookies are disabled on this browser, please enable them to open this website
Game of Thrones - I
You are viewing a single comment's thread. Return to all comments →
Without using sets (and in Haskell, not Python):
I'm sure it's possible to do a lot better than that though.