MCPcopy Create free account
hub / github.com/BeeBombshell/Python-DSA / __init__

Method __init__

Tree Data Structure/binarytree.py:3–6  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

1#class made for node of tree
2class Node:
3 def __init__(self, val):
4 self.l = None
5 self.r = None
6 self.v = val
7#class made for tree
8class Tree:
9 def __init__(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected