Review union find algorithms.