How does path compression improve the efficiency of the Disjoint Set Union?
-
By reducing the number of elements in a set
-
By flattening the structure of the tree representing the sets
-
By increasing the depth of the trees
-
By merging smaller sets into larger ones