Skip to content

Creating a binary search tree with javascript with some fun functions

Notifications You must be signed in to change notification settings

AimonFlaherty/javascript-bst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project: BST

A simple project to work with and experiment with different functions and algorithims with a BST.

Learning Objectives

  • Installing packages via NPM
  • Running test from command line
  • Writing Jest tests
  • BST algorithms

Skills used

  • Javascript
  • Algorithms and data structures

Current Functions

insert(data) inserts data given into the bst, no return
size() traverses the bst counting all nodes, return number of nodes in bst
inOrder() preforms an inorder traversal while adding a copy of each node to a list, returns an inorder list

About

Creating a binary search tree with javascript with some fun functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published