aoc::year2019::day17

Function build_path

Source
fn build_path(input: &Input) -> String
Expand description

Use a simple heuristic to build a path that visits every part of the scaffold at least once. This string will be too long to use directly in the robot’s movement functions, so we’ll need to compress it first.