Skip to main content

2 docs tagged with "union-find"

View all tags

Cycle Detection

A cycle is a path that leaves a vertex and, by following edges, returns to it. That definition reads