Skip to content

thomasboyt/advent-2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published