Keenan Tims d9d55b069f
day10: optimization
Part 2 doesn't actually require tracking state at all, it's enough to
just follow the rules and count every DFS that lands on a target square.

Part 1 optimized by only tracking which targets have been previously
visited, instead of all squares.

Both parts, pass position reference to recursive calls instead of by
value for tiny improvement.
2024-12-10 16:20:15 -08:00
..
2024-12-10 16:20:15 -08:00
2024-12-09 21:59:39 -08:00
2024-12-09 21:59:39 -08:00