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 new Tree#outOrder(fn) class method (#2) #34

Merged
merged 1 commit into from
Jun 14, 2019
Merged

Conversation

klaudiosinani
Copy link
Owner

Description

The PR introduces the following new unary method:

  • Tree#outOrder(fn)

The method applies out order traversal to the AVL binary search tree and executes the provided fn function once for each traversed node. At the end of the traversal, the method returns the tree itself.

Also, the corresponding TypeScript ambient declarations are included in the PR.

@klaudiosinani klaudiosinani added the enhancement New feature or request label Jun 14, 2019
@klaudiosinani klaudiosinani merged commit 3c72d39 into master Jun 14, 2019
@klaudiosinani klaudiosinani deleted the Tree#outOrder branch June 14, 2019 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant