Palindrome
if ( flag != 0 and ( j - i + 1 ) > maxLength ) : NEW_LINE INDENT start = i NEW_LINE maxLength = j - i + 1 NEW_LINE DEDENT print ( " Longest ▁ palindrome ▁ subString ▁ is : ▁ " , end = " " ) NEW_LINE printSubStr ( str , start , start + maxLength - 1 ) NEW_LINE