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

feat: add treesort algorithm #217

Merged
merged 5 commits into from
Dec 15, 2023

Conversation

tamaf96
Copy link
Contributor

@tamaf96 tamaf96 commented Dec 3, 2023

Adding tree sort algorithm with tests.

Copy link
Contributor

@appgurueu appgurueu left a comment

Choose a reason for hiding this comment

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

This should not reimplement binary search trees. Rather, it should use the binary search trees we already have (https://github.com/TheAlgorithms/TypeScript/blob/master/data_structures/tree/binary_search_tree.ts), which will make this PR pretty much trivial.

@tamaf96 tamaf96 requested a review from appgurueu December 10, 2023 11:18
@tamaf96
Copy link
Contributor Author

tamaf96 commented Dec 10, 2023

Thank you for the review, I have implemented your suggestion.

sorts/tree_sort.ts Outdated Show resolved Hide resolved
@tamaf96 tamaf96 requested a review from appgurueu December 10, 2023 20:22
@raklaptudirm raklaptudirm merged commit e0ae744 into TheAlgorithms:master Dec 15, 2023
2 checks passed
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.

3 participants