Given a string s, return the longest palindromic substring in s.
A palindrome is a string that reads the same forward and backward.
Example 1:
Input: s = "babad"
Output: "bab"
Explanation: "aba" is also a valid answer since it has the same length.
Example 2:
Input: s = "cbbd"
Output: "bb"
Explanation: The longest palindromic substring is "bb".
Example 3:
Input: s = "a"
Output: "a"
Explanation: A single character is always a palindrome.
1 <= s.length <= 1000s consists of only lowercase English letters.