comefrom: <qiyuangong>274_H-Index_3.py
code: def hIndex( citations):
      ls = len(citations)
      papers = [0] * (ls + 1)
      for c in citations:
          papers[min(ls, c)] += 1
      k, s = ls, papers[ls]
      while k > s:
          k -= 1
          s += papers[k]
      return k
masked: def sample_funcname ( var_0 ) :
      var_1 = len ( var_0 )
      var_2 = [ 0 ] * ( var_1 + 1 )
      for var_3 in var_0 :
          var_2 [ min ( var_1 , var_3 ) ] += 1
      var_4 , var_5 = var_1 , var_2 [ var_1 ]
      while var_4 > var_5 :
          var_4 -= 1
          var_5 += var_2 [ var_4 ]
      return var_4
  