Skip to content

erikw/advent-of-code-solutions

Repository files navigation

Advent of Code Solutions 🎄

Total stars from all years GitHub language count GitHub top language SLOC GitHub last commit (branch)

My solutions to puzzles at adventofcode.com. Also check out my collected tricks.

                                      `}-'       `}-'
 ___                    `}-' `}-'  ____/`-,  _____/`-,
"-_/}__             `}-'_/`-, /`-,( _,,.{-,_(__,,,.(
  [(_.-'`--,__   ____/`-,.(,-`}-'_,>___\/`-, >|`---\
  [(__\___\  _`-(--...(..-'_`./`-,/(--,,.(  //    / >
  |_______/-'    >`---\ / (   `{    >`---\ 
  __|___|__)    / \  / \  /`--/<   / \   /|
                         /  \/  \

See also:

2022 Results

Day Part 1 Part 2
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7
Day 8
Day 9
Day 10
Day 11
Day 12
Day 13
Day 14
Day 15

Development Setup

Env: Ruby

brew bundle install
bundle install

Env: JavaScript

npm install

Solve puzzle

and now solve today's puzzle or a specific one

bin/solve_day.sh
bin/solve_day.sh 19/5  # 2019 day 5
bin/solve_day.sh -l rb # Solve with language, here ruby 

Session Cookie Expired?

Update: