Step 1/0
Complexity
Best:O(log n)
Average:O(log n)
Worst:O(n)
Space:O(n)
Description
A binary tree where the left subtree contains only nodes with values less than the root, and the right subtree only nodes greater.
When to use
Efficient O(log n) search, insert, delete when balanced. Foundation for sets, maps, and ordered data structures.