88. Validate Binary Search Tree
MediumTree
Given the root of a binary tree, determine if it is a valid binary search tree. Tree is given as level-order array.
Examples
Input: [5,1,4,null,null,3,6]
Output: false
Explanation: Public test case for Validate Binary Search Tree
Constraints
- Number of nodes in the tree is in the range [1, 10^4]
Loading...
Run checks all cases above. Submit evaluates all test cases.