Closed klaudiosinani closed 5 years ago
The PR introduces the following new binary predicate method:
DisjointSet#areConnected(x, y)
Determines whether the two given elements x and y belong to the same disjoint set, returning true or false as appropriate.
x
y
true
false
Also, the corresponding TypeScript ambient declarations are included in the PR.
Description
The PR introduces the following new binary predicate method:
DisjointSet#areConnected(x, y)
Determines whether the two given elements
x
andy
belong to the same disjoint set, returningtrue
orfalse
as appropriate.Also, the corresponding TypeScript ambient declarations are included in the PR.