Tree Visualizer

Binary Search Tree
Binary Tree
M-Way Tree
Huffman Tree
Normal Node
Current Node
To Be Deleted
Traversal result will appear here...

Binary Search Tree

A Binary Search Tree (BST) is a node-based binary tree data structure which has the following properties:

• The left subtree of a node contains only nodes with keys lesser than the node's key.

• The right subtree of a node contains only nodes with keys greater than the node's key.

• The left and right subtree each must also be a binary search tree.