Skip to content

Commit

Permalink
Update longestPalindromicSubstring.md
Browse files Browse the repository at this point in the history
  • Loading branch information
azl397985856 authored Mar 30, 2018
1 parent ad9236b commit 420e798
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions longestPalindromicSubstring.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
## 题目描述
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) {

};
```

0 comments on commit 420e798

Please sign in to comment.