adventofcode/2021/day14
Érico Nogueira 78747594b7 Add Advent 2021 - day 14.
Two solutions: p.rkt is the naive solution and works for part 1, but
fails hard at part 2. It was slow enough I couldn't even get to memory
exhaustion. p2.rkt uses a hash map for pairs and a hash map for
character count, both of which are updated for each iteration. This one
can probably deal with any reasonable number of iterations.
2021-12-14 03:40:54 -03:00
..
p.rkt Add Advent 2021 - day 14. 2021-12-14 03:40:54 -03:00
p2.rkt Add Advent 2021 - day 14. 2021-12-14 03:40:54 -03:00
test1.txt Add Advent 2021 - day 14. 2021-12-14 03:40:54 -03:00
test2.txt Add Advent 2021 - day 14. 2021-12-14 03:40:54 -03:00