30:00
Given the root of a binary tree, determine if it is a valid binary search tree (BST).
The number of nodes is in the range [1,104][1, 10^4][1,104].
−231≤Node.val≤231−1-2^{31} \leq \text{Node.val} \leq 2^{31} - 1−231≤Node.val≤231−1
Checking node 5. Range: (-inf, inf)
5
1
4
3
6