LeetCode
Validate Binary Search Tree
Click
here
for an explanation.