A union-find disjoint sets data structure implemented in Python with the "Weighted Quick Union with Path Compression" algorithm.
Primary LanguagePythonMIT LicenseMIT