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_2 = len ( var_0 )
      var_5 = [ 0 ] * ( var_2 + 1 )
      for var_6 in var_0 :
          var_5 [ min ( var_2 , var_6 ) ] += 1
      var_8 , var_9 = var_2 , var_5 [ var_2 ]
      while var_8 > var_9 :
          var_8 -= 1
          var_9 += var_5 [ var_8 ]
      return var_8
  