log(n)
nlog(n)
n^2
class Solution(object): def isMatch(self, s, p): if p: # 原始字符串不爲空,且第一個和規則串匹配 if
class Solution: def longestValidParentheses(self, s: str) -> int: ranges = [(-1,-2)] indexs = [