The code is written in the most basic vanilla JavaScript, without external libraries (excepting crypto), trying to be very accessible for everybody.
Solutions are made in an optimized (when needed) computing/programming style, NOT by applying magical math formulas.
NOTE: Before year 2024, the measured times INCLUDE the Deno starting up time (around 0.025s).
hints for blazingly fast AOC solutions in JavaScript
Completed.
Day 3 has two alternative solutions (array vs dictionary).
Completed.
Day 11 PART 2 SOLVED IN JUST 30s (see the link for hints above)
Day 19 PART 2 SOLVED IN JUST 0.80s - NO math formula
Day 21 PART 2 SOLVED IN JUST 0.93s
Completed.
Completed.
Day 09 PART 2 SOLVED IN JUST 0.15s
Day 11 PART 2 SOLVED IN JUST 0.14s
Day 16 PART 2 SOLVED IN JUST 0.04s
Day 22 PART 2 SOLVED IN JUST 0.08s
Day 23 PART 2 SOLVED IN JUST 0.17s
Completed.
Day 18 PART 1 SOLVED IN JUST 0.26s
Day 20 PART 2 SOLVED IN JUST 0.04s
Day 22 PART 2 SOLVED IN JUST 0.02s - NO math formula
Completed.
Day 19 PART 1 SOLVED IN JUST 0.04s - NO regex
Day 19 PART 2 SOLVED IN JUST 0.03s - NO regex
Day 20 PART 2 SOLVED IN JUST 0.06s
Day 23 PART 2 SOLVED IN JUST 0.22s
Day 24 PART 2 SOLVED IN JUST 0.50s
Completed.
Day 15 PART 2 SOLVED IN JUST 0.32s
Day 18 PART 2 SOLVED IN JUST 0.19s
Day 20 PART 2 SOLVED IN JUST 0.18s
Day 21 PART 2 SOLVED IN JUST 0.10s
Day 22 PART 2 SOLVED IN JUST 0.17s
Day 23 PART 1 SOLVED IN JUST 0.04s
Day 23 PART 2 SOLVED IN JUST 0.52s
Day 24 PART 2 SOLVED IN JUST 0.02s - deep explanation
Completed.
Day 15 PART 2 SOLVED IN JUST 0.05s
Day 16 PART 2 SOLVED IN JUST 0.05s
Day 17 PART 2 SOLVED IN JUST 0.06s
Day 18 PART 2 SOLVED IN JUST 0.03s
Day 19 PART 1 SOLVED IN JUST 0.05s
Day 19 PART 2 SOLVED IN JUST 0.55s
Day 20 PART 2 SOLVED IN JUST 0.14s
Day 21 PART 2 SOLVED IN JUST 0.03s
Day 23 PART 2 SOLVED IN JUST 0.15s
Day 24 PART 2 SOLVED IN JUST 0.24s
Completed.
Day 12 PART 2 SOLVED IN JUST 0.08s
Day 17 PART 2 SOLVED IN JUST 0.12s
Day 18 PART 2 SOLVED IN JUST 0.03s - NO math theorem
Day 21 PART 2 SOLVED IN JUST 0.15s - NO math formula
Day 23 PART 2 SOLVED IN JUST 0.41s - NO recursion
Day 25 PART 1 SOLVED IN JUST 0.77s
Completed.
Day 13 PART 2 SOLVED IN JUST 2ms - algebra explained
Day 20 PART 2 SOLVED IN JUST 99ms
Day 21 PART 2 SOLVED IN JUST 1ms
Day 22 PART 2 SOLVED IN JUST 340ms
Day 23 PART 2 SOLVED IN JUST 5ms
Day 24 PART 2 SOLVED IN JUST 2ms