Groups
Category
A Link-Cut Tree (LCT) maintains a dynamic forest and supports link, cut, and path queries in O(log n) amortized time.
Centroid decomposition splits a tree into levels by repeatedly removing a centroid so that each remaining component is at most half the size.