摘要:
也不是我做出来的,, class Solution(object): def isValidBST(self, root): """ :type root: TreeNode :rtype: bool """ res=[] def helper(root): if not root: return 阅读全文
posted @ 2019-11-07 10:54
欣姐姐
阅读(144)
评论(0)
推荐(0)
摘要:
这不是我写的,对于树的学习处于初始阶段。 class Solution(object): def inorderTraversal(self, root): """ :type root: TreeNode :rtype: List[int] """ white,gray=0,1 res=[] st 阅读全文
posted @ 2019-11-07 10:38
欣姐姐
阅读(164)
评论(0)
推荐(0)

浙公网安备 33010602011771号