Union-Find

1. dynamic connectivity problem

connected component
find query: check if two objects are in the same component
union command:
Union-find data type (API)

2. Quick-Find (eager algorithm)

Data Structure
Find
Union
Cons