Disjoint-sets forest
Euler characteristic, disjoint sets
Disjoint sets
Ad hoc