Do you have examples of such algorithms? #3562·Erik Orrje, 22 days ago
Do you have examples of such algorithms?
1234
1
2
3
4
(defn add [a b] (if (zero? b) a (recur (inc a) (dec b))))
(defn add [a b]
(if (zero? b)
a
(recur (inc a) (dec b))))