Function which break string into two halves Increments frequency of characters for first half Decrements frequency of characters for second half true if any index has non - zero value
def function ( st ) : NEW_LINE INDENT global MAX NEW_LINE l = len ( st ) NEW_LINE DEDENT