comefrom: <awangdev>Counting Bits_1.java
code: public int[] countBits(int num) {
          if (num < 0) {
              return null;
          }
          int[] dp = new int[num + 1];
          dp[0] = 0;
          for (int i = 1; i <= num; i++) {
              int prevNum = i >> 1;
              dp[i] = dp[prevNum] + (i % 2);
          }
          return dp;
      }
masked: public int [ ] sample_funcname ( int var_0 ) {
    if ( var_0 < 0 ) {
      return null ;
    }
    int [ ] var_1 = new int [ var_0 + 1 ] ;
    var_1 [ 0 ] = 0 ;
    for ( int var_2 = 1 ;
    var_2 <= var_0 ;
    var_2 ++ ) {
      int var_3 = var_2 >> 1 ;
      var_1 [ var_2 ] = var_1 [ var_3 ] + ( var_2 % 2 ) ;
    }
    return var_1 ;
  }
  