1. Problem Summary You’re given the root of a binary tree and must determine if it is a valid Binary Search Tree (BST) . A binary tree is a valid BST if for every node: All values in the left subtree are strictly less than the node’s value. All values in the right subtree are strictly greater than the node’s value. Both left and right subtrees are themselves valid BSTs. Input: root (binary tree root, not null; up to 10 4 nodes) Output: Boolean indicating whether the tree is a valid BST. Node values can be as low as -2 31 and as high as 2 31 - 1. 2. Examples Explanation Example 1: Input: root = [2,1,3] Tree: 2 left → 1 right → 3 Check: Left subtree of 2 has 1 < 2. Right subtree of 2 has 3 > 2. Subtrees rooted at 1 and 3 are leaves, so valid. Result: true. Example 2: Input: root = [5,1,4,null,null,3,6] Tree: 5 left → 1 ri...