Question discussion

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 perf…

2552Medium DSSSB TGT Computer Science 0 replies 1 views
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

Explanation

The operations give the sets {1, 2, 3, 4} and {5, 6}, so two sets remain.

Discussion 0

Nobody has replied yet. Start the discussion!