comefrom: <gouthampradhan>hashing_DistributeCandies_1.java
code: public int distributeCandies(int[] candies) {
      int N = candies.length;
      Set<Integer> set = new HashSet<>();
      for (int c : candies) {
        set.add(c);
      }
      int n = set.size();
      return Math.min(N / 2, set.size());
    }
masked: public int sample_funcname ( int [ ] var_0 ) {
    int var_2 = var_0 . length ;
    Set < Integer > var_6 = new HashSet < > ( ) ;
    for ( int var_7 : var_0 ) {
      var_6 . add ( var_7 ) ;
    }
    int var_10 = var_6 . size ( ) ;
    return Math . min ( var_2 / 2 , var_6 . size ( ) ) ;
  }
  