Solution for Validate Binary Search Tree.