find-union-closure-encapsulation

Status: IN

The Union-Find implementation defines `find` and `union` as closures over `parent` and `rank` arrays rather than using a class, keeping state local to a single invocation.

Source: entries/2026/06/06/find-if-path-exists-in-graph-solution.md

JSON