New answers tagged disjoint-sets
2
votes
Accepted
Bounding the height of a tree in a variant of disjoint set union
Let me solve the case where you got stuck. Suppose $T_i$ with $\ell_i$ and $T_j$ with $\ell_j$ is merged into tree $T$, where $\ell_i$ = $\ell_j$.
WLOG, suppose we make the root of $T_i$ point to the ...
Top 50 recent answers are included
Related Tags
disjoint-sets × 12data-structures × 4
trees × 4
graphs × 3
union-find × 3
algorithms × 2
amortized-analysis × 2
linked-lists × 2
time-complexity × 1
algorithm-analysis × 1
graph-traversal × 1
induction × 1
depth-first-search × 1
connected-components × 1