This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
usaco-guide/content/5_Gold/DSU.md
Benjamin Qi 84cc6bcebd + PAPS
2020-06-22 21:00:35 -04:00

1.4 KiB

id title author prerequisites description
dsu Disjoint Set Union Benjamin Qi, Michael Cao
Silver - Depth First Search
The Disjoint Set Union (DSU) data structure allows you to add edges to an initially empty graph and test whether two vertices of the graph are connected.

Tutorial

with rollback: https://codeforces.com/contest/1140/problem/F

Problems