This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn is_palindrome [string] | |
(if (<= (count string) 1) | |
true | |
(if (not= (first string) (last string)) | |
false | |
(recur (rest (reverse (rest string))))))) | |
(def prod_palindromes | |
(for [x (range 100 1000) | |
:let [y (range x 1000)] |