A Guide to JavaScript Algorithms - Graph and Tree Traversal

added by JavaScript Kicks
1/2/2019 9:08:30 AM

1610 Views

A binary tree is a tree data structure where each node can only have upto two child nodes. To start, we will write a node creating function that will take the id as an argument. It will also have a left and right properties that are initially set to null.


0 comments