未验证 提交 420e7986 编写于 作者: A arida 提交者: GitHub

Update longestPalindromicSubstring.md

上级 ad9236bc
## 题目描述
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.
Example:
```
Input: "babad"
Output: "bab"
```
> Note: "aba" is also a valid answer.
Example:
```
Input: "cbbd"
Output: "bb"
```
## 思路
## 代码
```js
/**
* @param {string} s
* @return {string}
*/
var longestPalindrome = function(s) {
};
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册