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.
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.