Data Structure Lab

Binary Search Tree Visualizer

Explore insertions, deletions, traversals, and AVL balancing with a guided, step-by-step canvas. Drag to pan, scroll to zoom, or click anywhere to drop a new node.

Click canvas to add Right-click node to delete Press Esc to cancel

Tree Setup

Node Operations

Traversal & Info

Advanced Queries

Enter a value and choose Insert, Bulk Insert, Random tree, or click the canvas to add. Right-click a node to delete.

Height

-

Nodes

-

Balanced

-
active inserted rotations
1.0x