Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added BST #49

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

Merged
ashokdey merged 12 commits into master from problems
Oct 8, 2019
Merged

Added BST #49

ashokdey merged 12 commits into master from problems
Oct 8, 2019

Conversation

Copy link
Member

@ashokdey ashokdey commented Oct 8, 2019
edited
Loading

🌴 So what's Inside?

  • Implementation for Node of BST
  • Implementation of Binary Search Tree(BST)
    • Insertion
    • Pre-order Traversal
    • In-order Traversal
    • Post-order Traversal

Update I:
Added search(root, value) & isEmpty()

Notes

  • All the traversals return an array so as to facilitate easy testing and usability
  • Test Runs are commented out in the main file

Copy link
Member

@TheSTL TheSTL left a comment

Choose a reason for hiding this comment

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

💯

ashokdey reacted with laugh emoji
@ashokdey ashokdey merged commit 1cd6613 into master Oct 8, 2019
@ashokdey ashokdey deleted the problems branch October 8, 2019 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@TheSTL TheSTL TheSTL approved these changes

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /