LeetCode 刷题记录: 98. Validate Binary Search Tree [Python]

原题

https://leetcode.com/problems/validate-binary-search-tree/

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

思路

递归判断子节点:

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×