This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingThe first edge whose endpoints are already united is the one that closes the cycle.
What this asks
Find the edge that closes a cycle.
Process edges in order; the first pair already in the same group is the redundant one.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing