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

Added postOrder and preOrder functions #596

Open
wants to merge 1 commit into
base: master
from

Conversation

@savolla
Copy link

savolla commented Aug 22, 2020

Description of Change

Added Preorder and Postorder Traversal functions in Binary Search Tree. In previous version there was only Inorder Traversal. I thought that these operations are also important since they used in various binary search problems like cloning bst (preorder) and deleting bst (postorder)

References

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.