Skip to content

davidolivefarga/advent-of-code-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌲 Advent of Code 2020 🌲

Solutions for the Advent of Code 2020 puzzles, written in Javascript.

Every day two new puzzles are released, but you need to solve the first to unlock the second. Each puzzle grants a star, so the objective is to get all 50 stars. My aim is to code efficient solutions and comment them so that they can be easily understood.

Thanks Eric Wastl for organising this event!

Project structure

Every day has its own folder with the following files:

  • input.js: the puzzles input, formatted in a suitable way to solve them
  • puzzle1-solution.js: the solution to the first puzzle
  • puzzle2-solution.js: the solution to the second puzzle
  • README.md: the explanation of each solution

To run any solution, you can use Node:

# Runs the solution of the first puzzle of Day 1
node day1/puzzle1-solution

Here's the list of all days, along with the stars obtained in each of them.

Day Stars
Day 1 - Report Repair ⭐️ ⭐️
Day 2 - Password Philosophy ⭐️ ⭐️
Day 3 - Tobbogan Trajectory ⭐️ ⭐️
Day 4 - Passport Processing ⭐️ ⭐️
Day 5 - Binary Boarding ⭐️ ⭐️
Day 6 - Custom Customs ⭐️ ⭐️
Day 7 - Handy Haversacks ⭐️ ⭐️
Day 8 - Handheld Halting ⭐️ ⭐️
Day 9 - Encoding Error ⭐️ ⭐️
Day 10 - Adapter Array ⭐️ ⭐️
Day 11 - Seating System ⭐️ ⭐️
Day 12 - Rain Risk ⭐️ ⭐️
Day 13 - Shuttle Search ⭐️ ⭐️
Day 14 - Docking Data ⭐️ ⭐️
Day 15 - Rambunctious Recitation ⭐️ ⭐️
Day 16 - Ticket Translation ⭐️ ⭐️
Day 17 - Conway Cubes ⭐️ ⭐️
Day 18 - Operation Order ⭐️ ⭐️
Day 19 - Monster Messages ⭐️ ⭐️
Day 20 - Jurassic Jigsaw ⭐️
Day 21 - TBA
Day 22 - TBA
Day 23 - TBA
Day 24 - TBA
Day 25 - TBA

About

Solutions for the Advent of Code 2020

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published