摘要: 题目描述: 方法一:O(MN) O(M) class Solution: def isSubStructure(self, A: TreeNode, B: TreeNode) -> bool: def equal(A,B): if not B:return True if not A or A.va 阅读全文
posted @ 2020-04-17 15:11 oldby 阅读(91) 评论(0) 推荐(0) 编辑