98. 验证二叉搜索树

class Solution: def isValidBST(self, root): """ :type root: TreeNode :rtype: bool """ if not root: return True pre = None stack = list() while
相关文章
相关标签/搜索