Advent of Code
mykl
•
11mo ago
•
40%
Nadvent of Code - 2022 Day 20
https://dartpad.dev/?id=2ae60c3e3a6ae2edf57a5eff9c298d8dAs a warmup for this year's Advent of Code, I'm re-reading and posting my solutions to last year's challenges. You can read, run and edit today's solution by following the post link.
Today came as a welcome relief after two tricky days! We had to jumble a file according to some simple rules. The biggest challenge was interpreting the instructions correctly; the solution itself took only a few lines. Part two just added a key and increased the number of iterations. My original approach still ran in under a second (0.7s) so I didn't bother looking into it any further, and just enjoyed the free time :-)
Comments 1