Advent of Code, Day 15

A bit hairier, this one. There are smart ways of generating the possible combinations (finding the partitions of 100 and then permuting them) but I went for brute force with some ugly code.

Copyright © Found
Jim Finnis' personal blog

Built on Notes Blog Core
Powered by WordPress