摘要: 题目链接:https://leetcode-cn.com/problems/longest-valid-parentheses/ 题目描述: 给你一个只包含 '(' 和 ')' 的字符串,找出最长有效(格式正确且连续)括号子串的长度。 题解: class Solution { public: int 阅读全文
posted @ 2021-09-03 14:23 张宵 阅读(21) 评论(0) 推荐(0) 编辑