Skip to content

Javascript / Node.js solutions to the Advent of Code problems

Notifications You must be signed in to change notification settings

vinzlj/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

👾 Advent Of Code

Javascript / Node.js solutions to the Advent of Code problems.

What's Advent Of Code?

Check out the Advent Of Code website to find out!

Usage

Run each exercise like this:

▶ node 2021/day1/1.js
{
  title: 'Sonar Sweep [1.1]',
  url: 'https://adventofcode.com/2021/day/1',
  inputPreview: [ 174, 180, 179, 186, 184 ],
  inputLength: 2000,
  output: 1316
}

Solutions

📆 2021

Name Part 1 Part 2
Day 1 Sonar Sweep Check solution Check solution
Day 2 Dive! Check solution Check solution
Day 3 Binary Diagnostic Check solution Check solution
Day 4 Giant Squid Check solution Check solution
Day 5 Hydrothermal Venture Check solution Check solution
Day 6 Lanternfish Check solution Check solution
Day 7 The Treachery of Whales Check solution Check solution