comefrom: <awangdev>Count and Say_1.java
code: public String countAndSay(int n) {
          if (n <= 1) {
              return n + "";
          }
          String curr = "1";
          for (int i = 2; i <= n; i++) {
              int count = 1;
              char c = curr.charAt(0);
              int size = curr.length();
              StringBuffer sb = new StringBuffer();
              for (int j = 1; j < size; j++) {
                  if (curr.charAt(j) == curr.charAt(j - 1)) {
                      count++;
                  } else {
                      sb.append(count + String.valueOf(c));
                      c = curr.charAt(j);
                      count = 1;
                  }
              }
              sb.append(count + String.valueOf(c)); 
              curr = sb.toString();
          }
          
          return curr;
      }
masked: public String var_0 ( int var_1 ) {
    if ( var_1 <= 1 ) {
      return var_1 + "" ;
    }
    String var_6 = "1" ;
    for ( int var_8 = 2 ;
    var_8 <= var_1 ;
    var_8 ++ ) {
      int var_9 = 1 ;
      char var_12 = var_6 . charAt ( 0 ) ;
      int var_14 = var_6 . length ( ) ;
      StringBuffer var_16 = new StringBuffer ( ) ;
      for ( int var_17 = 1 ;
      var_17 < var_14 ;
      var_17 ++ ) {
        if ( var_6 . charAt ( var_17 ) == var_6 . charAt ( var_17 - 1 ) ) {
          var_9 ++ ;
        }
        else {
          var_16 . append ( var_9 + String . valueOf ( var_12 ) ) ;
          var_12 = var_6 . charAt ( var_17 ) ;
          var_9 = 1 ;
        }
      }
      var_16 . append ( var_9 + String . valueOf ( var_12 ) ) ;
      var_6 = var_16 . toString ( ) ;
    }
    return var_6 ;
  }
  