Problem 685 · Hard

Redundant Connection II

Remove one directed edge so the remaining graph forms a single rooted tree. The visual highlights parent conflicts and cycles, then shows which edge is dropped.

Open the interactive visualisation