{"id":"find-union-closure-encapsulation","text":"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.","truth_value":"IN","source":"entries/2026/06/06/find-if-path-exists-in-graph-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"find-union-closure-encapsulation","truth_value":"IN","reason":"premise"}]}}