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_4 = var_0 . length ;
    Arrays . sort ( var_0 ) ;
    for ( int var_7 = 0 ;
    var_7 < var_4 ;
    var_7 ++ ) {
      int var_8 = var_4 - var_7 ;
      if ( var_0 [ var_7 ] >= var_8 ) {
        return var_8 ;
      }
    }
    return 0 ;
  }
  