Module aoc::year2023::day01

source ·
Expand description

§Trebuchet?!

The input can contain overlapping digits such as “twone”, so we only remove a letter at a time until the starting or ending digits are found.

Constants§

  • DIGITS 🔒
    Use the index of each digit as its implicit value.

Functions§