Closed midorishibukawa closed 11 months ago
this one went pretty well, though I felt my solution for getting the game number wasn't the best. also, I made a whole map only to store the actual numbers per cube color, which seems kinda wasteful. as with day 01, I solved it by using tail recursion.
the logical steps were as follows:
game
argumentgame
value to 0
game
to the accumulator (y
)
https://adventofcode.com/2023/day/2