98. 驗證二叉搜索樹

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