advent_of_code_2024::day_21

Function keypad_chain

source
fn keypad_chain(length: usize) -> KeyPad<NumericButton>
Expand description

Build a chain of keypads controlled by robot arms of the provided size. This will be 2 for part 1, and 25 for part 2.