Advent of Code 2017 - PHP TDD with PHPSpec - Day 2 - Part 1 - Corruption Checksum

Опубликовано: 27 Февраль 2026
на канале: David Stockton
117
2

Live coding following TDD with PHPSpec for the Day 2 part 1 Advent of Code challenge for 2017 - Corruption Checksum

http://adventofcode.com/2017/day/2

Repo is here: https://github.com/dstockto/advent201...
Step By step: https://github.com/dstockto/advent201...

For this challenge, we need to calculate the checksum of a spreadsheet. This is done by determining the highest and lowest values in each row and finding the difference and then summing all the differences.