Java Implementation of the Union-Find datastructure for efficiently representing and merging set partitions.
Implements the union/find operations, managing a compact int array to track the set. Find is performed recursively.
JUnit tests are provided.