Skip Navigation
Advent of Code @lemmy.world mykl @lemmy.world

Nadvent of Code - 2022 Day 20

dartpad.dev DartPad

An online Dart editor with support for console, web, and Flutter apps.

As 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 :-)

1
1 comments
  • Not sure what caused the downvotes here? Did the solution not work on some test data? Or did people hate the idea of me having more free time?