BETA
All Problems of Union-find