Skip to content

Instantly share code, notes, and snippets.

Last active Nov 3, 2015
What would you like to do?
get greatest common divisor(use Clojure)
(defn gcd
[div rem]
(if (= rem 0)
(gcd rem (mod div rem))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment