As one character can be odd return res - 1 but if str1ing is already palindrome return 0
if ( res == 0 ) : NEW_LINE INDENT return 0 NEW_LINE DEDENT else : NEW_LINE INDENT return res - 1 NEW_LINE DEDENT