Function which break string into two halves Counts frequency of characters in each half Compares the two counter array and returns true if these counter arrays differ
def function ( st ) : NEW_LINE INDENT global MAX NEW_LINE l = len ( st ) NEW_LINE DEDENT