摘要:
题10: 回溯:另:动态规划复杂度更低 class Solution: def isMatch(self, s: str, p: str) -> bool: def helper(s,p): if not p: return not bool(s) if len(p)>=2 and p[1]=="* 阅读全文
摘要:
二叉树的中序遍历: 迭代: 递归: 另: 二叉树的前序遍历: 递归: 迭代: 二叉树的后序遍历: 迭代1: 迭代2: 二叉树的层次遍历: 二叉树的锯齿形遍历: 递归: 迭代: 阅读全文