this post was submitted on 20 Nov 2023
-1 points (40.0% liked)

Advent of Code

293 readers
1 users here now

Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

https://adventofcode.com

founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] mykl 1 points 1 year ago* (last edited 1 year ago)

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?