Skip to content

Commit 4652f19

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

data_structures/binary_tree/diff_views_of_binary_tree.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def depth_first_search(
106106
depth_first_search(root, 0, left_view)
107107
return left_view
108108

109+
109110
def binary_tree_top_side_view(root: TreeNode) -> list[int]:
110111
r"""
111112
Function returns the top side view of binary tree.
@@ -172,6 +173,7 @@ def binary_tree_bottom_side_view(root: TreeNode) -> list[int]:
172173
>>> binary_tree_bottom_side_view(None)
173174
[]
174175
"""
176+
175177
def breadth_first_search(root: TreeNode, bottom_view: list[int]) -> None:
176178
"""
177179
A breadth first search traversal with defaultdict ds to append

0 commit comments

Comments
 (0)