You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peery d883950591 Day 5 - Supply Stacks (puzzle 2)
Just changed the instruction execution to run with a temporary crane stack.
First all crates are fetched from the source stack and put onto the crane stack.
Afterwards all crates on the crane stack are put onto the target stack.

Both operations use stacks and therefore result in a same-order movement in the end.
1 year ago
..
input Day 5 - Supply Stacks (Puzzle 1) 1 year ago
src Day 5 - Supply Stacks (puzzle 2) 1 year ago
Cargo.lock Day 5 - Supply Stacks (Puzzle 1) 1 year ago
Cargo.toml Day 5 - Supply Stacks (Puzzle 1) 1 year ago