Building Binary Tree

Data Structures in JavaScript

Photo by niko photos on Unsplash
Figure 1: Sample Binary Tree
Figure 2: Node Class
Figure 3: Base BinaryTree Class
Figure 4: BinaryTree Class Add Function
Figure 5: BinaryTree Class AddNode Function
Figure 6: BinaryTree Class Remove Function
Figure 7: BinaryTree Class RemoveNode Function
Figure 8: BinaryTree Class FindMinNode Function

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mathew Phillip Wheatley

I am a software engineer with a mechanical background. Interests swing from aerospace, to woodworking, travel, skiing, hiking, running, climbing, and lasers.