LeetCode: https://leetcode.com/problems/validate-binary-search-tree/
Given the root of a binary tree, determine if it is a valid binary search tree (BST).
node
5
0
1
1
4
2
3
4
3
5
6
6
tree=Array(7)
lo=-inf
hi=inf
Step 1 / 4
Step 1:
Start at root=5 with range (-∞, +∞). It satisfies the range.
Pointers: node=0
Focus: select @ [0]
lo="-inf"hi="inf"