AdventOfCode: Day 2
More folds!
Nothing interesting here, just another problem solved using a fold, which updates state based on a list of inputs.
adventofcode2021/day2 at master · sashang/adventofcode2021 (github.com)
More folds!
Nothing interesting here, just another problem solved using a fold, which updates state based on a list of inputs.
adventofcode2021/day2 at master · sashang/adventofcode2021 (github.com)