Skip to content

Clear, efficient and didactic solutions for the Advent Of Code puzzles, in JavaScript.

License

Notifications You must be signed in to change notification settings

JoanaBLate/advent-of-code-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advent-of-code-js

Clear and BLAZINGLY FAST solutions in JS

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: All the measured times INCLUDE the Deno starting up time (around 0.025s).

hints for blazingly fast AOC solutions in JavaScript

Advent of Code 2015

Completed.

Day 3 has two alternative solutions (array vs dictionary).

Advent of Code 2016

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

Advent of Code 2017

Completed.

Advent of Code 2018

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

Advent of Code 2019

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

Advent of Code 2020

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

Advent of Code 2021

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

Advent of Code 2022

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

Advent of Code 2023

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

About

Clear, efficient and didactic solutions for the Advent Of Code puzzles, in JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published