A linear time algorithm for a special case of disjoint set union (1985)

by Harold N Gabow, Robert E Tarjan
Venue:J. Comput. Syst. Sci