comefrom: <awangdev>347. Top K Frequent Elements_1.java
code: private Map<Integer, Integer> buildFreqMap(int[] nums) { 
          Map<Integer, Integer> map = new HashMap<>();
          for (int num : nums) map.put(num, map.getOrDefault(num, 0) + 1);
          return map;
      }
masked: private Map < Integer , Integer > var_1 ( int [ ] var_2 ) {
    Map < Integer , Integer > var_5 = new HashMap < > ( ) ;
    for ( int var_6 : var_2 ) var_5 . put ( var_6 , var_5 . getOrDefault ( var_6 , 0 ) + 1 ) ;
    return var_5 ;
  }
  