aoc::year2024

Module day05

Source
Expand description

The input is constructed so that each possible pair that occurs in a row has a defined ordering that enables sorting with a custom Ordering definition. Numbers are always 2 digits so storing ordering in a fixed size 100 x 100 array is faster than using a HashMap.

Functions§

Type Aliases§