Advent of Code 2023 - Day 25Snowverload
| Problem statement | Source code | Tags: Graph theoryManual inspection
I think this is an easy cheat. Since I already use igraph, I can directly find the min-cut, i.e., the smallest set of edges that disconnects the graph.
Of course one could just implement the min-cut algorithm by hand, but why bother??
Alternative you can export the graph and look at it directly:
