Javascript / Node.js solutions to the Advent of Code problems.
Check out the Advent Of Code website to find out!
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
}
📆 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 |