allocation-free union-find library for bare metal environments
The library provides the following algorithms that is used with `UnionFind`. - QuickFind - QuickUnion - Weighted QuickUnion - Weighted QuickUnion With Path Compression (Default) ## Setup ### Cargo.toml setup ```toml [dependencies] pulau-rs = "0.2.0" ``` ## Asymptotic Complexity | Algorithm | Struct | Init | Union | Find | Connected | | :----------------------------------------------- | :-------------------------: | :----: | --------: | --------: | --------: | | QuickFind | `QuickFind` | `O(N)` | `O(N)` | `O(1)` | `O(1)` | | QuickUnion | `QuickUnion