News

Learn what a disjoint-set data structure is, how to implement it using an array of integers, and how to optimize it using path compression and rank heuristic.