Advent of Code

Advent of Code 2023

In 2023, I did Advent of Code as it was released! This was my first Advent of Code.

Best Time: Day 6

Brute-force solution for both parts.
See the recap section for an optimized-solution and proof.

  • 00:09:44 for Part 1
  • 00:01:49 for Part 2
  • 00:11:33 in total

Best Rank: Day 25

Simple graph problem, I used the networkx library.
Part 2 was just a button click, but it required you to solve every previous problem.

  • 359 for Part 1
  • 317 for Part 2

Worst Time: Day 16

Buggy code killed my time. I would've had a solution hours earlier if I hadn't accidentally reused variables.

  • 04:11:44 for Part 1
  • 00:21:20 for Part 2 (includes 15 minute break)
  • 04:33:04 in total

Worst Rank: Day 1

The problem was extremely simple, I just spent a lot of time getting my local dev environment set up and working the way I wanted.

  • 19,252 for Part 1
  • 14,553 for Part 2