Java program to check for disjoint sets in two ways - CodeVsColor

Java program to check for disjoint sets in two ways - CodeVsColor