comefrom: <awangdev>274.H-Index_3.java
code: public int hIndex(int[] citations) {
          if (citations == null || citations.length == 0) {
          	return 0;
          }
   		int n = citations.length;
   		Arrays.sort(citations);
          
          int index = n;
          for (int i = n - 1; i >= 0; i--) {
              if (citations[i] >= n - i) {
                  index = i;
                  continue;
              }
              break;
          }
          
        	return n - index;
      }
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 ) ;
    int var_2 = var_1 ;
    for ( int var_3 = var_1 - 1 ;
    var_3 >= 0 ;
    var_3 -- ) {
      if ( var_0 [ var_3 ] >= var_1 - var_3 ) {
        var_2 = var_3 ;
        continue ;
      }
      break ;
    }
    return var_1 - var_2 ;
  }
  