mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 02:18:39 +00:00
Update data_structures/binary_tree/basic_binary_tree.py
Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
parent
0f29543d3c
commit
8341098d5b
@ -12,7 +12,7 @@ class Node:
|
||||
self.right: Node | None = None
|
||||
|
||||
|
||||
def display_tree(root: Node | None, level: int = 0) -> None:
|
||||
def display_using_in_order_traversal(root: Node | None, level: int = 0) -> None:
|
||||
"""
|
||||
>>> root = Node(1)
|
||||
>>> root.left = Node(2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user