In this problem, a tree is an undirected graph that is connected and has no cycles. You are given a graph that started as a tree with `n` nodes labeled from 1 to `n`, with one additional edge added. Find that redundant edge and return it.
Union Find (Disjoint Set)
A tree with $n$ nodes must have $n-1$ edges. The 'redundant' edge is the one that connects two nodes that are already in the same connected component. We can use Union Find to keep track of disjoint sets. For each edge $(u, v)$, if `find(u) == find(v)`, then $u$ and $v$ are already connected, so $(u, v)$ is the redundant edge.