Weighted Union
Weighted Union
Always point the smaller tree to the root of the larger tree
1
2
3
4
5
6
7
W-Union(1,7)
2
4
1
Previous slide
Next slide
Back to first slide
View graphic version