Validate Binary Search Tree
Given the root of a binary tree, determine if it is a valid binary search tree (BST).
Validate Binary Search Tree

Given the root of a binary tree, determine if it is a valid binary search tree (BST).

Example 1:
Input: {"root":[5,1,4,null,null,3,6]}
Output: false
Input
arr ={"root":[5,1,4,null,null,3,6]}

Checking node 5. Range: (-inf, inf)

5

1

4

3

6

Variables
No variables to display
DepthFunction Call
Stack empty
0/10