Groups
Category
Amortized analysis measures the average cost per operation over a worst-case sequence, not over random inputs.
Top trees are dynamic tree data structures that represent a forest as a hierarchy of clusters, allowing O(log n) amortized time for link, cut, path queries/updates, and many subtree queries.