并查集系列(二)——Union-find with specific canonical element
问题描述Union-findwithspecificcanonicalelement.Addamethodfind()totheunion-finddatatypesothatfind(i)returnsthelargestelementintheconnectedcomponentcontainingi.Theoperations,union(),connected(),andfind()sho