Redundant Connection — Union-Find

Name the extra cable in a looped office network whose removal restores a loop-free layout; if several qualify, give the last-listed one.

Union-Find · Medium

More in Union-Find

All algorithm problems