MarsonShine / AlgorithmsLearningStudy

算法学习
3 stars 1 forks source link

leecode32:最长有效括号 #7

Closed MarsonShine closed 3 years ago

MarsonShine commented 3 years ago

https://leetcode-cn.com/problems/longest-valid-parentheses/submissions/

MarsonShine commented 3 years ago

关于最长有效匹配字符,栈方式解题:https://github.com/MarsonShine/AlgorithmsLearningStudy/blob/master/go/leecode32.go 关于动态规划的讲解,这个分析很不错