Skip to content
RED SAG Skills
easy5 pts · first answer countsgraphsunion-find

Why union by size helps

In union-find, why do you attach the smaller tree under the root of the larger one?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions