Skip to content

Commit c0cb35a

Browse files
author
wangpeng
committed
docs: add _32_longestValidParentheses
1 parent c5e60ea commit c0cb35a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,17 @@
2323

2424
- [x] [31. 下一个排列-Medium](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_31_nextPermutation.java)
2525

26-
- [ ] [32. 最长有效括号-Hard](https://leetcode-cn.com/problems/longest-valid-parentheses/)
26+
- [x] [32. 最长有效括号-Hard](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_32_longestValidParentheses.java)
2727

2828
- [ ] [301. 删除无效的括号-Hard](https://leetcode-cn.com/problems/remove-invalid-parentheses/)
2929

30+
> 预告:下周的题目会是和动态规划相关的,动态规划解题四部曲,可供参考
31+
>
32+
> - 确认**原问题与子问题**:
33+
> - 确认**状态**:
34+
> - 确认**边界状态的值**:
35+
> - 确定**状态转移方程**:
36+
3037
## 已解题目
3138

3239
> 20190404# leetcode目前已有题目1020道,免费852道
@@ -60,7 +67,7 @@
6067
- [线段树](https://leetcode-cn.com/tag/segment-tree/)(9)
6168
- [二叉搜索树](https://leetcode-cn.com/tag/binary-search-tree/)(15)
6269

63-
### 题目列表(更新中)
70+
### 题目列表(更新中--已完成143
6471

6572
| No | 题目 | 解决方案 | 相关话题 | 难度 | remark |
6673
| ----- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------ | ------------------------------------------------------------ |
@@ -95,6 +102,7 @@
95102
| #29 | [两数相除](https://leetcode-cn.com/problems/divide-two-integers/) | [Divide](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_29_divide.java) | [数学](<https://leetcode-cn.com/tag/math/>)[二分查找](<https://leetcode-cn.com/tag/binary-search/>) | Medium | |
96103
| #30 | [串联所有单词的子串](https://leetcode-cn.com/problems/substring-with-concatenation-of-all-words/) | [FindSubstring](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_30_findSubstring.java) | [哈希表](<https://leetcode-cn.com/tag/hash-table/>)[双指针](<https://leetcode-cn.com/tag/two-pointers/>)[字符串](<https://leetcode-cn.com/tag/string/>) | Hard | |
97104
| #31 | [下一个排列](https://leetcode-cn.com/problems/next-permutation/) | [NextPermutation](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_31_nextPermutation.java) | [数组](<https://leetcode-cn.com/tag/array/>) | Medium | |
105+
| #32 | [最长有效括号](https://leetcode-cn.com/problems/longest-valid-parentheses/) | [LongestValidParentheses](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_32_longestValidParentheses.java) | [字符串](<https://leetcode-cn.com/tag/string/>)[动态规划](<https://leetcode-cn.com/tag/dynamic-programming/>) | Hard | |
98106
| #33 | [搜索旋转排序数组](https://leetcode-cn.com/problems/search-in-rotated-sorted-array/) | [Search](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_33_search.java) | [数组](<https://leetcode-cn.com/tag/array/>)[二分查找](<https://leetcode-cn.com/tag/binary-search/>) | Medium | |
99107
| #34 | [在排序数组中查找元素的第一个和最后一个位置](https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array/) | [SearchRange](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_34_searchRange.java) | [数组](<https://leetcode-cn.com/tag/array/>)[二分查找](<https://leetcode-cn.com/tag/binary-search/>) | Medium | |
100108
| #35 | [搜索插入位置](https://leetcode-cn.com/problems/search-insert-position/) | [SearchInsert](https://github.com/pphdsny/Leetcode-Java/blob/master/src/pp/arithmetic/leetcode/_35_searchInsert.java) | [数组](<https://leetcode-cn.com/tag/array/>)[二分查找](<https://leetcode-cn.com/tag/binary-search/>) | Easy | |

0 commit comments

Comments
 (0)