comefrom: <gouthampradhan>backtracking_Subsets_1.java
code: public List<List<Integer>> subsets(int[] nums) {
      List<List<Integer>> result = new ArrayList<>();
      result.add(new ArrayList<>()); 
      for (int i = 0, l = nums.length; i < l; i++) {
        for (int j = 0, resLen = result.size(); j < resLen; j++) {
          List<Integer> newList = new ArrayList<>(result.get(j));
          newList.add(nums[i]);
          result.add(newList);
        }
      }
      return result;
    }
masked: public List < List < Integer >> var_2 ( int [ ] var_3 ) {
    List < List < Integer >> var_5 = new ArrayList < > ( ) ;
    var_5 . add ( new ArrayList < > ( ) ) ;
    for ( int var_8 = 0 , var_10 = var_3 . length ;
    var_8 < var_10 ;
    var_8 ++ ) {
      for ( int var_11 = 0 , var_13 = var_5 . size ( ) ;
      var_11 < var_13 ;
      var_11 ++ ) {
        List < Integer > var_15 = new ArrayList < > ( var_5 . get ( var_11 ) ) ;
        var_15 . add ( var_3 [ var_8 ] ) ;
        var_5 . add ( var_15 ) ;
      }
    }
    return var_5 ;
  }
  