1import bisect234class Solution:5 def hIndex(self, citations: List[int]) -> int:6 n = len(citations)7 for h in range(n, -1, -1):8 if h <= n - bisect.bisect_left(citations, h):9 return h
WPM •0 •0
ACC •0 •0
TIME •0