def hIndex(self, cit):
h, cit = 0, sorted(cit, reverse=True)
for i, v in enumerate(cit):
if v > i:
h = i + 1
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.