Advent of Code, Without Code

I’ve been working (some of) the Advent of Code problems since they began just before Christmas in 2015. I’ve used the problems to exercise some different Clojure muscles than the programming I do for my job. My solutions are on GitHub.

When I read the problem for part 1 of day 03 for this year, it struck me that you could solve this pretty quickly without writing any code. Here’s the answer sketched out on my chalkboard.


Of course, you can also write some code (which helps in solving part 2).

“First, solve the problem. Then, write the code.”
John Johnson

Clojure Math Personal