Question: In a Disjoint Set Union, what is the purpose of union by rank?
Options:
Correct Answer: To minimize the height of the trees representing sets
Solution:
The purpose of union by rank in Disjoint Set Union is to minimize the height of the trees representing sets, which helps in optimizing the \'Find\' operation.