Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
Example 1:
2 / \ 1 3
[2,1,3]
Example 2:
1 / \ 2 3
[1,2,3]