How do bounds change when moving left?
Practice this question from Validate Binary Search Tree - Range bounds Pattern Practice Quiz, with options and an explanation.
Question
How do bounds change when moving left?
Option A — Correct answer
The upper bound becomes the current value
Option B
The lower bound becomes infinity
Option C
Bounds are discarded
Option D
The node is always valid
Explanation
The upper bound becomes the current node value.