Skip to content

Vertical Order Traversal in a tree added #2585

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 7 commits into from
Oct 14, 2021
Merged

Conversation

Pramil01
Copy link
Contributor

In DataStructure folder under tree subcategory vertical order traversal added.

Vertical order traversal in a tree prints the tree from left to right and top to bottom in vertical columns , the codes not only implements it but also explains the process and what data structure is used for what purpose .

@Pramil01 Pramil01 requested a review from siriak as a code owner October 12, 2021 14:15
@Pramil01 Pramil01 closed this Oct 12, 2021
@Pramil01 Pramil01 reopened this Oct 12, 2021
@Pramil01
Copy link
Contributor Author

Is there any problem in my code or something , it's my first time contributing in any repo so I wanted to know if I made any mistakes.

Removed the Node class and used the existing binary tree class , also instead of printing the values a sequence in arraylist of ans is returned.
@Pramil01
Copy link
Contributor Author

The changes asked are done .

@Pramil01 Pramil01 requested a review from siriak October 14, 2021 12:10
@siriak siriak merged commit 99362e2 into TheAlgorithms:master Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants