Skip to content

tcorley/AdventOfCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

Advent of Code

2020 uses node.js and 2021 uses deno.

Prerequisites

2021

new: use deno

❯ deno --version
deno 1.16.3 (release, x86_64-apple-darwin)
v8 9.7.106.5
typescript 4.4.2

2020

node >= 12

How to Run solutions

2021

From project root:

yarn run:<mode> <day> <part>

where:

  • mode: data or sample
  • day: 1-25
  • part: 1 or 2

2020

Navigate to a day

$> cd 2020/day1

then run node:

$> node .

Since each day has 2 problems, there will either be 2 outputs or a commented out section for part 1 or part 2.

Each prompt is linked in the solution header.

About

adventofcode.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published