Fork me on GitHub

woohoo finished 2021 in 2021.

🙌 4
Adam Haber19:12:57

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

Adam Haber19:12:48

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!

Antonio Bibiano19:12:38

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