Different applications of reduce in Clojure

November 2015 · 2 minute read

I’ve just started learning Clojure using
Clojure for the Brave and True and solving
problems on 4Clojure. While doing so, I’ve noticed
that a lot of problems that seem tricky can be quickly solved using clojure.core/reduce.

This post is an effort to document some snippets to demonstrate how useful reduce can be.