Concept Flow - BST property and invariant
Start at root node
Check left subtree
All left nodes < current node?
No→BST property violated
Yes
Check right subtree
All right nodes > current node?
No→BST property violated
Yes
Repeat for all nodes
If all checks pass
→BST property holds
The BST property means every node's left subtree has smaller values and right subtree has larger values. This must hold for every node.