Labs / Computer Science

Binary Search Tree

Pick a value and insert it — every number finds its slot by going left when it is smaller and right when it is larger. Then run a search to watch the comparison path light up, or an in-order traversal to see the tree unspool into a sorted list. Click any node to search straight for it.

Labs / Computer Science / Binary Search Tree

Computer Science20–30 minFoundation

Binary Search Tree

Pick a value and insert it — every number finds its slot by going left when it is smaller and right when it is larger. Then run a search to watch the comparison path light up, or an in-order traversal to see the tree unspool into a sorted list. Click any node to search straight for it.

Why it matters

Why explore this?

Computer science turns clear rules into reliable processes. This model lets you step through those rules and see how each decision changes the result.