- Union Find
- Union-Find
- Detect Cycle using DSU
- Find if Path Exists in Graph
- Number of Provinces
- Graph Valid Tree
- Number of Connected Components in an Undirected Graph
- The Earliest Moment When Everyone Become Friends
- Number of Islands
- Number of Islands II
- Second Best Minimum Spanning Tree❗️
- Lexicographically Smallest Equivalent String
- Smallest String With Swaps
- Accounts Merge
- Redundant Connection
- Kruskal’s Algorithm
- Minimum Spanning Tree
- Minimum Spanning Tree using Kruskal
- Connecting Cities With Minimum Cost