| 1 | class DisjointSetTreeNode { |
| 2 | // Disjoint Set Node to store the parent and rank |
| 3 | constructor(key) { |
| 4 | this.key = key |
| 5 | this.parent = this |
| 6 | this.rank = 0 |
| 7 | } |
| 8 | } |
| 9 | |
| 10 | class DisjointSetTree { |
| 11 | // Disjoint Set DataStructure |
nothing calls this directly
no outgoing calls
no test coverage detected