thomasboyt / advent-2017

Advent of Code 2017 answers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Here's my Advent of Code answers for 2017.

For the most part, I've tried to solve these as if they were interview questions asked, rather than code golfing or going for particularly elegant solutions. It's more of a while (true) {...} kinda thing than a bunch of beautiful functional code.

Since I'm lazy and don't like manually checking things, I wrote up the various examples that the problems have as test cases in Jest, which can be run individually like:

npm test -- 05/05-p2.test.js

--watch can be passed to automatically rerun them.

Checklist

  • 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
  • Day 16
  • Day 17
  • Day 18
  • Day 19
  • Day 20
  • Day 21
  • Day 22
  • Day 23
  • Day 24
  • Day 25

About

Advent of Code 2017 answers


Languages

Language:JavaScript 100.0%