Skip to content

add binary_tree_traversals.py to data_structures #3297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
Oct 15, 2020
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
90b8c32
add binary_tree_traversals.py to data_structures
rajansh87 Oct 14, 2020
6193d6e
Fixed error
rajansh87 Oct 14, 2020
5b6f8d8
Update data_structures/binary_tree/binary_tree_traversals.py
rajansh87 Oct 14, 2020
f15601c
Update binary_tree_traversals.py
rajansh87 Oct 14, 2020
b5285c1
Update binary_tree_traversals.py
rajansh87 Oct 14, 2020
2c9050c
Update binary_tree_traversals.py
rajansh87 Oct 14, 2020
4140522
Update data_structures/binary_tree/binary_tree_traversals.py
rajansh87 Oct 14, 2020
85738c3
Update binary_tree_traversals.py
rajansh87 Oct 14, 2020
27d854f
Update binary_tree_traversals.py
rajansh87 Oct 14, 2020
5f4e7ce
Update binary_tree_traversals.py
rajansh87 Oct 14, 2020
854fbd5
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
c0dc50d
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
48e97aa
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
cf0f9e4
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
6c43555
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
449f686
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
5dc5534
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
655657d
Update data_structures/binary_tree/binary_tree_traversals.py
rajansh87 Oct 15, 2020
d5a0dba
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
cd5c08c
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
b266c71
Update data_structures/binary_tree/binary_tree_traversals.py
rajansh87 Oct 15, 2020
fe91a5a
Update data_structures/binary_tree/binary_tree_traversals.py
rajansh87 Oct 15, 2020
ef6871e
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
f1c3bfe
Update data_structures/binary_tree/binary_tree_traversals.py
rajansh87 Oct 15, 2020
6ae25e6
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
41a7dc1
Doctests and type hints
cclauss Oct 15, 2020
baa9eab
Add spaces
cclauss Oct 15, 2020
ce35469
Update binary_tree_traversals.py
rajansh87 Oct 15, 2020
15c812d
black exclude data_structures/binary_tree/binary_tree_traversals.py
cclauss Oct 15, 2020
80409c5
Add spaces again
cclauss Oct 15, 2020
b7ea116
Update binary_tree_traversals.py
cclauss Oct 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data_structures/binary_tree/binary_tree_traversals.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def preorder(root):
then its left subtree followed
by right subtree.
preorder(make_tree())
1 2 4 5 3
1 2 4 5 3
"""
if root:
print(root.data, end=" ")
Expand Down