Add disjoint set (#1194) · zinating/algorithms-python@01601e6 · GitHub
Skip to content

Commit 01601e6

Browse files
luoheng23cclauss
authored andcommitted
Add disjoint set (TheAlgorithms#1194)
* Add disjoint set * disjoint set: add doctest, make code more Pythonic * disjoint set: replace x.p with x.parent * disjoint set: add test and refercence
1 parent 837bfff commit 01601e6

1 file changed

Lines changed: 79 additions & 0 deletions

File tree

Lines changed: 79 additions & 0 deletions

0 commit comments

Comments
 (0)