Skip to content

Commit de2c080

Browse files
authored
Update diff_views_of_binary_tree.py
1 parent 91cb294 commit de2c080

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

data_structures/binary_tree/diff_views_of_binary_tree.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@ def binary_tree_bottom_side_view(root: TreeNode) -> list[int]:
173173
>>> binary_tree_bottom_side_view(None)
174174
[]
175175
"""
176-
from collections import defaultdict
177-
176+
178177
def breadth_first_search(root: TreeNode, bottom_view: list[int]) -> None:
179178
"""
180179
A breadth first search traversal with defaultdict ds to append

0 commit comments

Comments
 (0)