1.

What Do You Mean By Union-by-weight?

Answer»

Keep TRACK of the weight IE; SIZE of each tree and always append the SMALLER tree to the larger one when performing UNION.

Keep track of the weight ie; size of each tree and always append the smaller tree to the larger one when performing UNION.



Discussion

No Comment Found