jeroenheijmans / advent-of-code-2023

Solutions for Advent of Code 2023

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

  1. Ambiguity is part of life.
  2. Parsing data is hard even if it's clean data!
  3. Bugs are like ninja's.
  4. Go slow to go fast.
  5. Paint is a great coding support tool.
  6. Turns out mathematics can be useful.
  7. Jokers are wild!
  8. Coding requires being unusually frustration-resistant.
  9. Coding for speed is something else.
  10. Lack of sleep lowers effective IQ.
  11. Off by one: the second hardest thing in computer science.
  12. Hard problems are hard
  13. There's probably no digital task where Excel cannot play a role.
  14. Buggy code can incidentally be just fine.
  15. Preciseness can be a virtue.
  16. Hindsight is 20/20.
  17. Path finding algorithms can be hard.
  18. Knowing how to do something !== Being able to to do something
  19. Sometimes you've got to work your way backwards?
  20. MermaidJS is great!
  21. Know when to take a break.
  22. Slow can be fine.
  23. Reinventing algorithms on your own is dumb and smart.
  24. Math is hard.
  25. 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:

About

Solutions for Advent of Code 2023


Languages

Language:TypeScript 95.0%Language:JavaScript 5.0%Language:PowerShell 0.0%