題組內容
五、 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.
(a) Draw the tree after performing union(a, b) using Union function
with weighting rule. (10%)