Practice Problem
Redundant Connection
Difficulty: Medium
Given a graph that started as a tree with one extra edge added, find and return the edge that can be removed to make it a tree again.
Practice Problem
Difficulty: Medium
Given a graph that started as a tree with one extra edge added, find and return the edge that can be removed to make it a tree again.