findRedundantConnection = function (edges) {
    return new UnionFind(edges)
        .redundantConnection;
}
https://leetcode.com/problems/redundant-connection/
Time O(V + E) | Space O(V + E)
@param {number[][]} edges
@return {number[]}