Skip to content

Commit 4baa72b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1605604 commit 4baa72b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

data_structures/binary_tree/all_traversals_one_pass.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from typing import Optional, List, Tuple
99

10+
1011
class Node:
1112
"""
1213
A class to represent a node in a binary tree.
@@ -19,7 +20,7 @@ class Node:
1920
The left child of the node.
2021
right : Node, optional
2122
The right child of the node.
22-
23+
2324
Reference: https://en.wikipedia.org/wiki/Binary_tree
2425
"""
2526

@@ -122,7 +123,7 @@ def build_sample_tree() -> Node:
122123
-------
123124
Node
124125
The root node of the binary tree.
125-
126+
126127
Reference: https://en.wikipedia.org/wiki/Binary_tree
127128
"""
128129
root = Node(1)

0 commit comments

Comments
 (0)