comefrom: <awangdev>119. Pascal's Triangle II_1.java
code: public List<Integer> getRow(int rowIndex) {
          List<Integer> result = new ArrayList<>();
          if (rowIndex == 0) result.add(1);
          if (rowIndex >= 1) result.add(1);
  
          for (int row = 1; row <= rowIndex; row++) {
              List<Integer> list = new ArrayList<>(Arrays.asList(1, 1));
              List<Integer> lastRow = result;
              int end = row - 1;
              for (int i = 1; i <= end; i++) {
                  list.add(i, lastRow.get(i) + lastRow.get(i - 1));
              }
              result = list;
          }
          return result;
      }
masked: public List < Integer > var_1 ( int var_2 ) {
    List < Integer > var_5 = new ArrayList < > ( ) ;
    if ( var_2 == 0 ) var_5 . add ( 1 ) ;
    if ( var_2 >= 1 ) var_5 . add ( 1 ) ;
    for ( int var_9 = 1 ;
    var_9 <= var_2 ;
    var_9 ++ ) {
      List < Integer > var_12 = new ArrayList < > ( Arrays . asList ( 1 , 1 ) ) ;
      List < Integer > var_13 = var_5 ;
      int var_14 = var_9 - 1 ;
      for ( int var_15 = 1 ;
      var_15 <= var_14 ;
      var_15 ++ ) {
        var_12 . add ( var_15 , var_13 . get ( var_15 ) + var_13 . get ( var_15 - 1 ) ) ;
      }
      var_5 = var_12 ;
    }
    return var_5 ;
  }
  