Overview
Persistent Union-Find is a persistent data structures method for versioned connectivity. It works by recording parent and rank changes so older connectivity states remain queryable.
Persistent Union-Find addresses versioned connectivity by recording parent and rank changes so older connectivity states remain queryable.
Compact metadata for implementation and discovery.
Persistent Union-Find is a persistent data structures method for versioned connectivity. It works by recording parent and rank changes so older connectivity states remain queryable.
Quick facts
Runtime and memory behavior at a glance.
Best
O(1)
Average
O(log n)
Worst
O(n)
Space
O(n)
Show recording parent and rank changes so older connectivity states remain queryable on a small versioned connectivity example.
Persistent Union-Find operates in O(log n) time and O(n) space within the Persistent Data Structures family. Often compared with Biconnected Components and Lengauer-Tarjan Dominators.
What each reference supports for this entry.
Reference for persistent data structures and versioned updates applicable to persistent disjoint-set structures.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Persistent union-find is a versioned disjoint-set structure that preserves historical connectivity states.
Both use persistence techniques to query older versions of an evolving structure.