class Solution: def match(self, str, pattern) -> bool: # write code here m = len(str) n = len(pattern) array = [[False] * (n + 1) for _ in range(m + 1)] # 创建数组,行、列分别加入一个空字符 array[0][0] = True for z in range(1, n + 1): # 初始化array数组中str的空字符这一行,即...