摘要: 题目描述: 方法一:递归 最坏O(N^2) class Solution: def verifyPostorder(self, postorder: List[int]) -> bool: def recur(i,j): if i >= j:return True p = i while posto 阅读全文
posted @ 2020-04-25 23:07 oldby 阅读(138) 评论(0) 推荐(0) 编辑