Count odd occurring characters
for i in range ( MAX ) : NEW_LINE INDENT if ( freq [ i ] & 1 ) : NEW_LINE INDENT count = count + 1 NEW_LINE DEDENT if ( count > 1 ) : NEW_LINE INDENT return False NEW_LINE DEDENT DEDENT