Function to return the length of the longest palindromic sub - string such that it starts and ends with the character ch
def maxLenPalindrome ( str , n , ch ) : NEW_LINE INDENT maxLen = 0 ; NEW_LINE for i in range ( n ) : NEW_LINE DEDENT