Skip to content

Commit 7330d01

Browse files
authored
Update 5.longest-palindromic-substring.md
1 parent 41fcda3 commit 7330d01

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

problems/5.longest-palindromic-substring.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,17 @@ var longestPalindrome = function(s) {
118118
};
119119
```
120120

121+
122+
***复杂度分析***
123+
- 时间复杂度:$O(N^2)$
124+
- 空间复杂度:$O(N^2)$
125+
126+
更多题解可以访问我的LeetCode题解仓库:https://github.com/azl397985856/leetcode 。 目前已经30K star啦。
127+
128+
大家也可以关注我的公众号《脑洞前端》获取更多更新鲜的LeetCode题解
129+
130+
![](https://pic.leetcode-cn.com/89ef69abbf02a2957838499a96ce3fbb26830aae52e3ab90392e328c2670cddc-file_1581478989502)
131+
121132
## 相关题目
122133

123134
- [516.longest-palindromic-subsequence](./516.longest-palindromic-subsequence.md)

0 commit comments

Comments
 (0)