Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.


Example 1:

Code Block
Input: "babad"
Output: "bab"

...