My solution for day 5 of #adventofcode in #clojure:
https://github.com/root42/aoc2022/blob/eb7bc986b5e499b4d62094b76a246dc0887aac92/src/aoc2022/core.clj#L203
I heard bad things about this, however after rearranging the input matrix, I didn't have to do complex parsing, and this problem was easy for me to map to Clojure's functional paradigms. I like this solution. #letscode
My solution for Day 4 of #adventofcode in #clojure:
https://github.com/root42/aoc2022/blob/0542cb638e365ed442a220562489e2c89c4f80e3/src/aoc2022/core.clj#L161
The string parsing is a bit nasty, as usual, but the functional paradigm using filter and flatten make up for it. #letscode
And here is my solution for day 3 of #adventofcode in #clojure
https://github.com/root42/aoc2022/blob/624e4d54be4dc179537e4cd63a787563853b1b03/src/aoc2022/core.clj#L119
Clojure and its set operations make this a very concise solution, I think. #letscode
@jimblimey@toots.jimblimey.com yeah, especially the dude in the last pic looks like cheap Aliexpress quality.
@jimblimey@toots.jimblimey.com is your camera feeling fine? :)
But nice snowman!
My solution for Day 2 of the #adventofcode in #clojure
https://github.com/root42/aoc2022/blob/0e1b9a76f3f14b4bdbdb3161b007bdb09b0f55c7/src/aoc2022/core.clj#L57
#letscode
@jimblimey@toots.jimblimey.com how much?
@jimblimey@toots.jimblimey.com awesome. I was pondering this, too.
@ned How do Beholders reproduce then? :)