comefrom: <awangdev>274.H-Index_4.java
code: public int hIndex(int[] citations) {
          if (citations == null || citations.length == 0) {
              return 0;
          }
          int n = citations.length;
          Arrays.sort(citations); 
          for (int i = 0; i < n; i++) {
              int h = n - i;
              if (citations[i] >= h) {
                  return h;
              }
          }
          return 0;
      }
masked: public int sample_funcname ( int [ ] var_0 ) {
    if ( var_0 == null || var_0 . length == 0 ) {
      return 0 ;
    }
    int var_1 = var_0 . length ;
    Arrays . sort ( var_0 ) ;
    for ( int var_2 = 0 ;
    var_2 < var_1 ;
    var_2 ++ ) {
      int var_3 = var_1 - var_2 ;
      if ( var_0 [ var_2 ] >= var_3 ) {
        return var_3 ;
      }
    }
    return 0 ;
  }
  