Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 27b85ca

Browse files
Update 8_binary_tree.py
1 parent 6e4df7b commit 27b85ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

set3/8_binary_tree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def __init__(self, value, left=None, right=None):
55
self.nodes = [self.value]
66

77
def __add__(self, other):
8-
#Nodes are added to the end of the tree as in CBT
8+
#Nodes are added to the end of the tree as in CompleteBinaryTree
99
self.nodes.append(other.value)
1010
#print("Node added at the end of the tree")
1111

0 commit comments

Comments
 (0)