<gouthampradhan>string_ReconstructOriginalDigitsFromEnglish_1.java
private void update(
      Map<Character, Integer> map,
      Map<Integer, Integer> intMap,
      int num,
      char id,
      List<Character> list) {
    if (map.containsKey(id)) {
      int count = map.get(id);
      intMap.put(num, count);
      while (count-- > 0) {
        for (char c : list) {
          map.put(c, map.get(c) - 1);
        }
      }
    }
  }
private void var_0 ( Map < Character , Integer > var_4 , Map < Integer , Integer > var_5 , int var_6 , char var_7 , List < Character > var_9 ) {
  if ( var_4 . containsKey ( var_7 ) ) {
    int var_12 = var_4 . get ( var_7 ) ;
    var_5 . put ( var_6 , var_12 ) ;
    while ( var_12 -- > 0 ) {
      for ( char var_15 : var_9 ) {
        var_4 . put ( var_15 , var_4 . get ( var_15 ) - 1 ) ;
      }
    }
  }
}
