Concept Flow - Floor and Ceil in BST
Start at root
Compare target with current node
Floor = Ceil = node value
→Done
Go to left subtree
Go to right subtree
Update floor or ceil accordingly
Repeat until leaf or found exact match
Start at the root and compare the target with current node value. Move left if target is smaller, right if larger, updating floor or ceil candidates until you find exact match or reach leaf.
