relationset

Compare two sets (array of items) and get relationships between them (Disjoint | Intersecting | Subset | Superset | Equal)

merge-find

Implementation of Disjoint-set data structure algorithm (also called a union–find data structure or merge–find set).