MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / Node

Class Node

data_structures/disjoint_set/disjoint_set.py:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6
7class Node:
8 def __init__(self, data: int) -> None:
9 self.data = data
10 self.rank: int
11 self.parent: Node
12
13
14def make_set(x: Node) -> None:

Callers 1

test_disjoint_setFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_disjoint_setFunction · 0.56