Module aoc::year2015::day03

source ·
Expand description

§Perfectly Spherical Houses in a Vacuum

We store Santa’s path in a FastSet of Point objects that deduplicates visited points. For part two we alternate between Santa and the robot, tracking two points simultaneously and reusing the same deduplicating logic as part one.

Functions§