Skip to content

Vertical Order Traversal in a tree added#2585

Merged
siriak merged 7 commits intoTheAlgorithms:masterfrom
Pramil01:master
Oct 14, 2021
Merged

Vertical Order Traversal in a tree added#2585
siriak merged 7 commits intoTheAlgorithms:masterfrom
Pramil01:master

Conversation

@Pramil01
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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