Skip to content
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

Add Tree Postorder Traversal in TypeScript #3008

Merged

Conversation

shivamgupta57121
Copy link
Contributor

Fixes #2551

Checklist:

  • 4 space indentation.
  • Coding conventions are followed.
  • Input is taken dynamically.
  • Sample Input / Output is added at the end of file.
  • Logic Documentation (Comments).
  • File names are correct.

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

Changes proposed in this pull request:

  • Add code for Tree Postorder Traversal in TypeScript

Languages Used:

  • TypeScript

Files Added:

  • Tree_Postorder_Traversal.ts

We're happy to help you get this ready -- don't be afraid to ask for help.

Thanks!

@shivamgupta57121
Copy link
Contributor Author

shivamgupta57121 commented May 28, 2020

Please review my PR @jainaman224 @singh-shreya6 @asha15

postOrderTraversal(currentNode.right);
console.log(currentNode.val + " -> ");
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the extra line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@shivamgupta57121
Copy link
Contributor Author

@asha15 Removed the extra line. Please review it.

@raghav-dalmia
Copy link
Collaborator

Squash your commits.

@shivamgupta57121
Copy link
Contributor Author

I have squashed the changes. @raghav-dalmia

@shivamgupta57121
Copy link
Contributor Author

I have squashed the changes. Please review it and merge @raghav-dalmia @asha15

@asha15 asha15 merged commit 7932f22 into jainaman224:master May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tree Postorder Traversal
3 participants