mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Added comment (#1294)
This commit is contained in:
parent
22bd6ff967
commit
06d736199b
@ -40,6 +40,7 @@ class BinarySearchTree:
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.root = None
|
self.root = None
|
||||||
|
|
||||||
|
# Insert a new node in Binary Search Tree with value label
|
||||||
def insert(self, label):
|
def insert(self, label):
|
||||||
# Create a new Node
|
# Create a new Node
|
||||||
new_node = Node(label, None)
|
new_node = Node(label, None)
|
||||||
|
Loading…
Reference in New Issue
Block a user