Statement
Given a string s, return the longest palindromic substring in s.
Note: If there are multiple valid palindromic substrings of the same length, return any of them.
Constraints
-
s.length -
sconsist of only digits and English letters.
Given a string s, return the longest palindromic substring in s.
Note: If there are multiple valid palindromic substrings of the same length, return any of them.
Constraints
s.length
s consist of only digits and English letters.
Given a string s, return the longest palindromic substring in s.
Note: If there are multiple valid palindromic substrings of the same length, return any of them.
Constraints
s.length
s consist of only digits and English letters.