Groups
Category
A dominator tree summarizes โmust-passโ relationships in a directed graph from a chosen root r: u dominates v if every path from r to v goes through u.
A Link-Cut Tree (LCT) maintains a dynamic forest and supports link, cut, and path queries in O(log n) amortized time.