題組內容

五、 Union and Find operations are two functions in set representation.
Use the figure below to answer the sub-questions. The two sub-questions are independent.

(b) Draw the tree after performing find(b) on the tree rooted at b using Find function with collapsing rule. (10%)