We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91cb294 commit de2c080Copy full SHA for de2c080
data_structures/binary_tree/diff_views_of_binary_tree.py
@@ -173,8 +173,7 @@ def binary_tree_bottom_side_view(root: TreeNode) -> list[int]:
173
>>> binary_tree_bottom_side_view(None)
174
[]
175
"""
176
- from collections import defaultdict
177
-
+
178
def breadth_first_search(root: TreeNode, bottom_view: list[int]) -> None:
179
180
A breadth first search traversal with defaultdict ds to append
0 commit comments