When a new mountain sub - array is found , there is a need to set the variables k , j to - 1 in order to help calculate the length of new mountain sub - array
if ( k != - 1 ) : NEW_LINE INDENT k = - 1 NEW_LINE j = - 1 NEW_LINE DEDENT