会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yi术家
博客园
首页
新随笔
联系
订阅
管理
2021年9月11日
开学周 真的好忙呀啊啊
摘要: 32: 最长有效括号 想着要用动态规划却不会用。。。 抄别人方法 class Solution(object): def longestValidParentheses(self, s): """ :type s: str :rtype: int """ n = len(s) stack = []
阅读全文
posted @ 2021-09-11 17:41 yi术家
阅读(45)
评论(0)
推荐(0)
公告