Module day01

Module day01 

Source
Expand description

§No Time for a Taxicab

The solution is short as it leverages two utility classes, parse for extracting integers from surrounding text and point for two dimensional rotations and translations.

For part two, it is faster to remember line segments and check for intersections than to store information on every intermediate point visited.

Structs§

Segment 🔒

Functions§

parse
part1
part2

Type Aliases§

Pair 🔒