Loading

摘要: class Solution: def longestValidParentheses(self, s: str) -> int: stack = [-1] max_len = 0 for i in range(len(s)): if s[i] == "(": stack.append(i) eli 阅读全文
posted @ 2024-09-15 22:36 Duancf 阅读(14) 评论(0) 推荐(0)