TreeLab
Viz
Interactive Data Lab v1.0
Tree Architecture
Show Values
Sim Speed
600ms
Random
Reset
Tree Analytics
Root Value
Empty
Tree Height
0
Nodes
0
Leaf Nodes
0
Balanced
YES
LEVEL 1
LEVEL 2
LEVEL 3
LEVEL 4
LEVEL 5
LEVEL 6
Preorder
Inorder
Postorder
BFS
Result Path
Run a traversal to see output...
Binary Search Tree Concept
Loading concept...
Lab Instructions
• Use
Insert
to add nodes to the current structure.
•
Traversals
highlight visiting order in real-time.
•
AVL Trees
automatically rebalance upon insertion.
•
Min-Heaps
maintain priority at the root.