algorithm · Level 3 · 30 min
Given a string s, return the longest palindromic substring in s.
A palindrome reads the same forward and backward.
s.s that is a palindrome.- `1 <= s.length <= 1000` - `s` consists only of digits and English letters.
Return the longest palindromic substring.