merge-find

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

unionfind

Implementation of Weighted Quick Union-Find with Path Compression data structure.