1HardComputer ScienceData Structures2024FreeA disjoint-set (union-find) data structure with path compression and union by rank supports operations in nearly: