Claude guided me through this extensively, but I wrote all this on my own in the end. Uses breadth first search (BFS). This is slow, but it produces the correct answer.
8 lines
92 B
TOML
8 lines
92 B
TOML
[package]
|
|
name = "day11"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
itertools = "*"
|