Skip to content

Instantly share code, notes, and snippets.

View bob0the0mighty's full-sized avatar

Dave P bob0the0mighty

  • Williamsburg, Va
  • 17:52 (UTC -04:00)
View GitHub Profile
(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)]