# 5. Detect a Cycle in a graph with a disjoint set (Union Find)

[detect-cycle-with-disjoint-set-union-find](https://algorithm.prettylog.com/overview/2.-data-structures/union-find/detect-cycle-with-disjoint-set-union-find "mention")
