Robuta

https://visualgo.net/en/ufds
The Union-Find Disjoint Sets (UFDS) data structure is used to model a collection of disjoint sets, which is able to efficiently (i.e., in nearly constant time)...
union finddisjoint setsufds
https://brooksb.dev/currently/
disjoint unioncurrently