0
Initially each of the elements 1 to 6 is in a set of its own. The operations union(1, 2), union(3, 4), union(2, 4) and union(5, 6) are performed in this order. How many disjoint sets remain?
- A1
- B4
- C3
- D2
Correct answer: D
Initially each of the elements 1 to 6 is in a set of its own. The operations union(1, 2), union(3, 4), union(2, 4) and union(5, 6) are performed in this order. How many disjoint sets remain?