Binary search trees
Lesson 13 of 20 · Algo.Micro
Smaller to the left, bigger to the right: binary search that can grow.
Every node has at most two children. Everything in the left subtree is smaller than the node, everything in the right subtree is bigger. That rule holds at every node.
Check yourself
In a BST, where are the values smaller than a node?
Do it in the browser: a real algorithms tool, a short mission and instant feedback. No install.
Start this lesson — free