Home

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:

  1. Too much prep can hurt.
  2. Straightforward can work.
  3. Reading comprehension is hard.
  4. Programming is a skill and a craft.
  5. Input parsing is a lot of work.
  6. Detailed knowledge is useful in detailed situations.
  7. Sleep is also important!
  8. Data structures are everything!
  9. Train rides are decent for puzzling.
  10. Off-by-one might be solvable through fault-tolerance.
  11. A few nights sleep could help.
  12. Preparation would've been everything.
  13. Chaos brings energy.
  14. Calm brings clarity.
  15. Hacking around and not looking back is sometimes The Way.
  16. Dirty isn't always bad.
  17. Dirty still feels dirty!
  18. Particle physics must be insanely tricky.
  19. Code most work for reasonable inputs. No more.
  20. Off by -1 is different from off by 1.
  21. Sometimes you should never look back.
  22. Tiredness can be postponed (to a degree).
  23. Slow can still be good enough.
  24. Being thorough can be rewarding.
  25. 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: