Algorithms with JavaScript: Binary Search Tree

in #javascript4 years ago

A tree is a very popular non linear data structure. It’s a collection of nodes which are organized in hierarchical order. The first node is the root element of the tree and from this point the tree starts growing. Tree can have only one root element. What’s unique about binary search tree is that nodes are ordered based on the value they stored. Values which are stored in the left sub-tree are always less than values stored in the node and vs values in the right subtree are always greater than in the node.

Keep reading

Coin Marketplace

STEEM 0.19
TRX 0.14
JST 0.030
BTC 64535.04
ETH 3462.08
USDT 1.00
SBD 2.49