adventofcode 2021-12-31

woohoo finished 2021 in 2021.

🙌 4
🙌🏻 1
🙌🏽 1

hi, I’m trying to go through aoc but I feel my solutions to all the days that are very “2d-array-oriented” (like day 11 - when a cell flashes and increments everything around it) are awkward

if someone has a solution which they feel is pretty “idiomatic” for these kind of exercises, I’d be very happy to learn from it. Thanks!

One of the thing that I noticed is that by using a map with tuples of coordinates as keys made some solutions quite elegant

➕ 6