Awesome
Advent of Code 2023
Solutions to the Advent of Code 2023 edition by Jeroen Heijmans.
Running
./run.ps1
or
deno run --watch --allow-read ./src/main.ts
Lessons
Here's what I learned (or noticed) each day.
- Ambiguity is part of life.
- Parsing data is hard even if it's clean data!
- Bugs are like ninja's.
- Go slow to go fast.
- Paint is a great coding support tool.
- Turns out mathematics can be useful.
- Jokers are wild!
- Coding requires being unusually frustration-resistant.
- Coding for speed is something else.
- Lack of sleep lowers effective IQ.
- Off by one: the second hardest thing in computer science.
- Hard problems are hard
- There's probably no digital task where Excel cannot play a role.
- Buggy code can incidentally be just fine.
- Preciseness can be a virtue.
- Hindsight is 20/20.
- Path finding algorithms can be hard.
- Knowing how to do something !== Being able to to do something
- Sometimes you've got to work your way backwards?
- MermaidJS is great!
- Know when to take a break.
- Slow can be fine.
- Reinventing algorithms on your own is dumb and smart.
- Math is hard.
- Sometimes only the result counts!
Compendium Repositories
I've created a browser extension for Google Chrome and Mozilla Firefox. It is open source to spice up your private leaderboard page with graphs if you want to contribute!
Here's direct links to every year's solutions I have so far:
- Advent of Code 2015 solutions: not available yet!
- Advent of Code 2016 solutions: not available yet!
- Advent of Code 2017 solutions, in JavaScript
- Advent of Code 2018 solutions, in C#
- Advent of Code 2019 solutions, in Python
- Advent of Code 2020 solutions, in TypeScript
- Advent of Code 2021 solutions, in PHP
- Advent of Code 2022 solutions, in JavaScript
- Advent of Code 2023 solutions, in TypeScript