Skip to content

Commit 8aa6bd5

Browse files
Update datastructures/trees/binary/node.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 14fde9b commit 8aa6bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datastructures/trees/binary/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(
4040
self.right: Optional[BinaryTreeNode] = right
4141
# Next is a pointer that connects this node to it's right sibling in the tree. If this node is the right most
4242
# node on a given level, then it is connected to the first node on the next level. If this node is the last node
43-
# in the tree on the last node, then it is pointed to None. By default, it is set to None.
43+
# in the tree on the last level, then it is pointed to None. By default, it is set to None.
4444
# Note that if this is the root node, it is connected to the left most node on the next level.
4545
self.next: Optional[BinaryTreeNode] = next
4646

0 commit comments

Comments
 (0)