Question: If you perform a union operation between two trees with ranks r 1 and r 2 , and r 1 > r 2 , which
If you perform a union operation between two trees with ranks and and which of the following statements is true?
The rank of the resulting tree will be r
The rank of the resulting tree will be
The rank of the resulting tree will be the maximum of and
The rank of the resulting tree will be r
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
