Given a string s, find the length of the longest almost palindromic substring in s.
A string is defined as almost palindromic if it can be transformed into a palindrome by deleting at most
A substring is a contiguous non empty sequence of characters within a string.
Constraints:
s.length
s consists of only lowercase English letters.
Given a string s, find the length of the longest almost palindromic substring in s.
A string is defined as almost palindromic if it can be transformed into a palindrome by deleting at most
A substring is a contiguous non empty sequence of characters within a string.
Constraints:
s.length
s consists of only lowercase English letters.