Skip to content

Conversation

@Nishithaaa0905
Copy link

This pull request adds a beginner-friendly implementation of a Binary Search Tree (BST) in JavaScript.

Features included:

  • insert(value): Adds a new value to the tree
  • search(value): Checks if a value exists in the tree
  • inOrderTraversal(): Returns all values in sorted order

This implementation is designed to help beginners understand how BSTs work and practice basic tree operations.
Example usage is included for clarity.

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.

2 participants