@@ Union-Find
@

=============================================================

Improvements :

1. Weight balancing

@@ |x| < |y|

@@ |x| > |y|@@@@@
@
@

2. Path Compression


@
@