Question: How many connected components do we have after performing the following sequence of union operations on a set of 10 items? Show your work by
How many connected components do we have after performing the following sequence of union operations on a set of 10 items? Show your work by drawing the tree.
[union(1,2), union(3,4), union(5,6), union(7,8), union(8,9), union(2,8), union(0,6), union(4,6)]
A. 1
B. 2
C. 3
D. 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
