Skip to content

Commit c48cef1

Browse files
authored
Update top_view_of_binary_tree.py
1 parent 2e8bf9a commit c48cef1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data_structures/binary_tree/top_view_of_binary_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def top_view(self, root):
6363
solution = Solution()
6464

6565
# Get the top view traversal
66-
top_view = solution.topView(root)
66+
top_view = solution.top_view(root)
6767

6868
# Print the result
6969
print("Top View Traversal:")

0 commit comments

Comments
 (0)