MuhammadLab

Binary Search Tree Visualizer — Insert, Search, Delete

Learn BST ordering (left smaller, right larger), insertion/search paths, and deletion cases with traversal outputs.

Interactive learning • Step-by-step operations • Visual explanations

Controls
Pick an operation, then execute and step through.
BST
Empty BST
Code-like representation
Connect the visual model to what you’d write in code.
bst
BST inorder: []
Step-by-step explanation
Watch intermediate reasoning, not just the final result.
Step 0 / 0
Choose an operation and click Execute to generate steps.
Teaching notes
Short, beginner-friendly reminders.
Learning mode
A BST keeps smaller values on the left and larger values on the right.
Inorder traversal visits values in sorted order (for a BST).
Operation history
Track what you tried and what happened.
No operations yet.

Processed Locally

Your file never leaves your device. Everything is processed in your browser — we never see or store your data.