Closed klaudiosinani closed 5 years ago
The PR introduces the following new nullary method:
DisjointSet#clear()
Mutates the disjoint-set forest instance by removing all residing elements and sets, returning it completely empty.
Also, the corresponding TypeScript ambient declarations are included in the PR.
Description
The PR introduces the following new nullary method:
DisjointSet#clear()
Mutates the disjoint-set forest instance by removing all residing elements and sets, returning it completely empty.
Also, the corresponding TypeScript ambient declarations are included in the PR.