mirror of
https://github.com/parnic/advent-of-code-2023.git
synced 2025-06-16 08:40:14 -05:00
This is terrible, but it's Christmas and I don't want to solve this intense graph theory problem right now. I fed the parsed graph into graphviz so I could see where the connections were, then had the code sever them and calculate the independent graph sizes. Maybe I'll find a real solve for this later...but probably not.
13 lines
196 B
Plaintext
13 lines
196 B
Plaintext
jqt: rhn xhk nvd
|
|
rsh: frs pzl lsr
|
|
xhk: hfx
|
|
cmg: qnr nvd lhk bvb
|
|
rhn: xhk bvb hfx
|
|
bvb: xhk hfx
|
|
pzl: lsr hfx nvd
|
|
qnr: nvd
|
|
ntq: jqt hfx bvb xhk
|
|
nvd: lhk
|
|
lsr: lhk
|
|
rzs: qnr cmg lsr rsh
|
|
frs: qnr lhk lsr |