For Increasing Subarray
while ( k <= j and temp < arr [ k ] and f != 2 ) : NEW_LINE INDENT temp = arr [ k ] ; NEW_LINE k += 1 ; NEW_LINE DEDENT if ( k > j and f != 2 ) : NEW_LINE INDENT c += 1 ; NEW_LINE f = 0 ; NEW_LINE DEDENT