BaReinhard / Hacktoberfest-Data-Structure-and-Algorithms

A repo to contains data structure s and algorithms, regardless of language.
https://bareinhard.github.io/Hacktoberfest-Data-Structure-and-Algorithms/
GNU General Public License v3.0
225 stars 707 forks source link

Added union find data structure in golang #1152

Closed Vector-ops closed 1 year ago

Vector-ops commented 1 year ago

🚀 Pull Request Summary:

Introducing a concise and efficient Union-Find data structure implementation in Go. This code enables seamless tracking and merging of disjoint sets. Implemented path compression and rank optimization for performance.

Review Notes: