Awesome
Advent of Code 2022 Solutions
Solutions to the 2022 edition of Advent of Code.
About this repository
My intenion was to learn and practice Kotlin this year. Real life happened, so here I am, using and abusing JavaScript. It is what it is!
Lessons Learned
Here's something I learned for the various days of advent:
- Too much prep can hurt.
- Straightforward can work.
- Reading comprehension is hard.
- Programming is a skill and a craft.
- Input parsing is a lot of work.
- Detailed knowledge is useful in detailed situations.
- Sleep is also important!
- Data structures are everything!
- Train rides are decent for puzzling.
- Off-by-one might be solvable through fault-tolerance.
- A few nights sleep could help.
- Preparation would've been everything.
- Chaos brings energy.
- Calm brings clarity.
- Hacking around and not looking back is sometimes The Way.
- Dirty isn't always bad.
- Dirty still feels dirty!
- Particle physics must be insanely tricky.
- Code most work for reasonable inputs. No more.
- Off by -1 is different from off by 1.
- Sometimes you should never look back.
- Tiredness can be postponed (to a degree).
- Slow can still be good enough.
- Being thorough can be rewarding.
- No code is sometimes best code.
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