Near-constant-time union and find with path compression and union by rank — the backbone of connectivity and cycle detection.
TryAlgoViz Team
Published 2026-06-02
We're putting the finishing touches on Premium. Join the waitlist and we'll email you the moment it's live.