Check whether the given string is K reducing string or not
INDENT check = 0 NEW_LINE for i in range ( ( n // k ) , n , ( n // k ) ) : NEW_LINE INDENT if ( no_of_zeroes == i or no_of_ones == i ) : NEW_LINE check = 1 NEW_LINE break NEW_LINE DEDENT if ( check == 0 ) : NEW_LINE INDENT return " Not ▁ Possible " NEW_LINE DEDENT DEDENT