Disjoint Set
In mathematics, two sets are said to be disjoint sets if they have no element in common. Equivalently, two disjoint sets are sets whose intersection is the empty set.
For example, {1, 2, 3} and {4, 5, 6} are disjoint sets, while {1, 2, 3} and {3, 4, 5} are not disjoint.
Example-1:
Suppose A {1, 3, 5, 7} and B = {2, 4, 6, 8}. We see that there are no common elements in A and B.
Solution:
such sets are known as disjoint sets. The disjoint sets can be represented by means of the Venn-diagram as follows: