My solutions for the Advent of Code (https://adventofcode.com/)
day1 | ||
day1a.js | ||
day1b.js | ||
README.md |
adventofcode2017
Day One
Both of these solutions are in node.js, converting the captcha string into an array, and then iterating through the array converting the chars to integers and perfoming a sum if one interger matches the next (part one) or the intewger "opposite" it in the circular array (part two).