Union-Find ·
Disjoint Sets with Path Compression
un
seel
.com · Union · Find · nearly O(1) amortized
Components
5
Operations
0
State
—
Set root (larger)
Set member
Path compression
▶ Play
←
→
🔇 Unmute
Reset
Un
seel
.com · Union-Find