Expand description
Advent of Code 2015 Day 14: https://adventofcode.com/2015/day/14
I originally brute-forced this problem for part one simply iterating the prompted number of times to compute the distance travelled but sure that there was some math that I could do to calculate the answer much faster. After seeing part two I decided to maintain my approach but refine it to keep track of the state of all of the reindeer at each second so that I could correctly award the points to the current winner.
Functions§
- The solution for the day fourteen challenge.