Check if current sub - string can be arranged into a palindrome
if canBePalindrome ( count ) == True : NEW_LINE INDENT count [ string [ end ] ] += 1 NEW_LINE return max ( end - start , maxPal ( string , count , start , end + 1 ) ) NEW_LINE DEDENT else : NEW_LINE INDENT count [ string [ end ] ] += 1 NEW_LINE return maxPal ( string , count , start , end + 1 ) NEW_LINE DEDENT