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

Method __init__

data_structures/heap/binomial_heap.py:15–21  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

13 """
14
15 def __init__(self, val):
16 self.val = val
17 # Number of nodes in left subtree
18 self.left_tree_size = 0
19 self.left = None
20 self.right = None
21 self.parent = None
22
23 def merge_trees(self, other):
24 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected