No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Binary Search Tree in JS

This is an implementation and an attempt at learning just what the hell a Binary Search Tree is.

This Repo contains:

Creating a BST

  • Creating a node
  • Creating a constructor to instantiate a BST
  • A push method to insert values in the correct place in the BST

Tree Traversal

  • Pre Order

  • In Order

  • Post Order

  • Get min value in tree

  • Get max value in tree

To Run:

git clone


node bst.js

to see log output of implementations.