Skip to main content

Module day07

Module day07 

Source
Expand description

ยงThe Sum of Its Parts

Part one is a topological sort of the steps based on the dependencies between them. As there are only 26 possible different steps, we can use bitmasks to store the dependency graph, enabling extremely quick lookup.

Structsยง

Step

Functionsยง

from_index ๐Ÿ”’
next_ready ๐Ÿ”’
parse
part1
part2
part2_testable
to_index ๐Ÿ”’

Type Aliasesยง

Input ๐Ÿ”’