comefrom: <awangdev>1021. Remove Outermost Parentheses_2.java
code: public String removeOuterParentheses(String S) {
          StringBuilder s = new StringBuilder();
          int count = 0;
          for (char c : S.toCharArray()) {
              if (c == '(' && count++ > 0) s.append(c);
              if (c == ')' && count-- > 1) s.append(c);
          }
          return s.toString();
      }
masked: public String var_0 ( String var_1 ) {
    StringBuilder var_2 = new StringBuilder ( ) ;
    int var_3 = 0 ;
    for ( char var_4 : var_1 . toCharArray ( ) ) {
      if ( var_4 == '(' && var_3 ++ > 0 ) var_2 . append ( var_4 ) ;
      if ( var_4 == ')' && var_3 -- > 1 ) var_2 . append ( var_4 ) ;
    }
    return var_2 . toString ( ) ;
  }
  