diff --git a/data_structures/binary_tree/basic_binary_tree.py b/data_structures/binary_tree/basic_binary_tree.py index a31b1847d..0d3c85335 100644 --- a/data_structures/binary_tree/basic_binary_tree.py +++ b/data_structures/binary_tree/basic_binary_tree.py @@ -11,6 +11,7 @@ class Node: self.left: Node | None = None self.right: Node | None = None + def display(tree: Node | None) -> None: # In Order traversal of the tree """ >>> root = Node(1)