Pls suggest some resources for understanding usage of dsu on tree!

Suggest some good resources for using dsu on trees

solve problems on kruskal algorithm fast implementation

1 Like

Are you talking about path compression and union by rank?