What is DSU?
A data structure that stores non overlapping or disjoint subset of elements is called disjoint set data structure.
Condition for two sets to be disjoint: Two sets are called disjoint sets if they don’t have any element in common, the intersection of sets is a null set.