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

MorrisPreOrder Traversal #2621

Closed
mkhuzaima opened this issue Oct 12, 2023 · 2 comments
Closed

MorrisPreOrder Traversal #2621

mkhuzaima opened this issue Oct 12, 2023 · 2 comments
Labels
enhancement New feature or request stale Author has not responded to the comments for over 2 weeks

Comments

@mkhuzaima
Copy link

Detailed description

Morris Traversal is an algorithm for Binary tree traversal in O(1) space.

https://en.wikipedia.org/wiki/Tree_traversal

Context

It can help users to understand how morris traversal works, and how it can be used for preorder traversal.Morris

Possible implementation

It is implemented with threaded traversal. i.e., changing tree internally during traversal and restoring it to original state.

Additional information

No response

@mkhuzaima mkhuzaima added the enhancement New feature or request label Oct 12, 2023
Copy link
Contributor

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Author has not responded to the comments for over 2 weeks label Nov 14, 2023
Copy link
Contributor

Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale Author has not responded to the comments for over 2 weeks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant