WikiMini

Union-find